Skip to content

Move coordinate inversion to the color extractor - #3674

Merged
IntegratedQuantum merged 1 commit into
PixelGuys:masterfrom
IntegratedQuantum:fix_fog_problem
Oct 4, 2026
Merged

IntegratedQuantum merged 1 commit into
PixelGuys:masterfrom
IntegratedQuantum:fix_fog_problem

Conversation

@IntegratedQuantum

Copy link
Copy Markdown
Member

The color extractor accesses the depth buffer, causing incorrect values since the framebuffer coordinates are flipped in OpenGL now.

First pass and second pass don't need the switch because their image flipping cancels out.

fixes #3668

@Wunka Wunka left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah, so that's why. Thanks for looking at that issue, so I don't have to

@IntegratedQuantum
IntegratedQuantum merged commit 60a6b88 into PixelGuys:master Oct 4, 2026
3 checks passed
@IntegratedQuantum
IntegratedQuantum deleted the fix_fog_problem branch October 4, 2026 18:07
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.

fog issues, likely caused by flipping the y axis

2 participants