Skip to content

fixed Lodestone Bug with ImpactFrames#6

Open
VenWhoVian wants to merge 1 commit intoFINDERFEED:1.20.1from
VenWhoVian:1.20.1
Open

fixed Lodestone Bug with ImpactFrames#6
VenWhoVian wants to merge 1 commit intoFINDERFEED:1.20.1from
VenWhoVian:1.20.1

Conversation

@VenWhoVian
Copy link
Copy Markdown

issue

adaptive exposure was using glReadPixels to sample the main framebuffer on the cpu. that worked in vanilla-ish rendering, but lodestone changes the render pipeline enough that the readback was happening on the wrong buffer / wrong timing, so the exposure sample was just getting 0.0 or tripping GL_INVALID_OPERATION.

what I changed

removed the broken framebuffer readback path

basically just moved the screen reading code for the adaptive exposure to the GPU, and out of java

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant