Skip to content

Fix baked VoxelGI using the wrong color space #107776

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2025

Conversation

retrotails
Copy link
Contributor

this fixes baked voxelGI having washed-out colors because it was using sRGB textures/colors without converting them to linear.
example from this test scene #63374 comparing this PR to blender

tv

note that dynamic voxelGI did not have this issue, so this brings baked voxelGI in line with dynamic.
mirror_s

this slightly helps #64125, because the emission brightness multiplier was being applied to washed out colors which artificially increased the brightness of baked GI, but this isn't a complete fix for that issue, since baked GI is still much brighter.

@Repiteo Repiteo merged commit 39b77ea into godotengine:master Jun 24, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Jun 24, 2025

Thanks!

@retrotails retrotails deleted the voxelgi_srgb branch June 29, 2025 04:28
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.

4 participants