X Tutup
Skip to content

Use proper bitshift for tonemap srgb flag in Forward+ renderer#112272

Merged
akien-mga merged 1 commit intogodotengine:masterfrom
clayjohn:rd-tonemap-flag
Nov 1, 2025
Merged

Use proper bitshift for tonemap srgb flag in Forward+ renderer#112272
akien-mga merged 1 commit intogodotengine:masterfrom
clayjohn:rd-tonemap-flag

Conversation

@clayjohn
Copy link
Member

@clayjohn clayjohn commented Nov 1, 2025

Fixes: #112263

The bitshift was updated in the shader, but not in the c++ source. Leading to the color value never getting converted to srgb. When using HDR2D, this is false anyway, so you don't notice it.

@clayjohn clayjohn requested a review from a team as a code owner November 1, 2025 01:37
@clayjohn clayjohn requested a review from Calinou November 1, 2025 01:37
@clayjohn clayjohn added this to the 4.6 milestone Nov 1, 2025
@akien-mga akien-mga merged commit 60043b5 into godotengine:master Nov 1, 2025
20 checks passed
@akien-mga
Copy link
Member

Thanks!

@clayjohn clayjohn deleted the rd-tonemap-flag branch November 2, 2025 05:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Forward+: Rendering is too dark following optimized glow merge

3 participants

X Tutup