Skip to content

Disable tonemapping for ReflectionProbes in Compatibility#111317

Open
Kaleb-Reid wants to merge 1 commit into
godotengine:masterfrom
Kaleb-Reid:compat-refprobe-no-tonemap
Open

Disable tonemapping for ReflectionProbes in Compatibility#111317
Kaleb-Reid wants to merge 1 commit into
godotengine:masterfrom
Kaleb-Reid:compat-refprobe-no-tonemap

Conversation

@Kaleb-Reid

Copy link
Copy Markdown
Contributor

Tonemapping should not be applied to ReflectionProbes, as that will cause it to be applied multiple times to the same values because tonemapping will happen again for the Viewport containing the probes.

Fixes #104429

@Kaleb-Reid Kaleb-Reid requested a review from a team as a code owner October 6, 2025 08:43
@AThousandShips AThousandShips added bug topic:rendering topic:3d cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release labels Oct 6, 2025
@AThousandShips AThousandShips added this to the 4.6 milestone Oct 6, 2025
@Repiteo Repiteo modified the milestones: 4.6, 4.x Jan 26, 2026
@Kaleb-Reid Kaleb-Reid force-pushed the compat-refprobe-no-tonemap branch from 09b39b3 to 6c46eb4 Compare January 27, 2026 06:54
Comment thread drivers/gles3/shaders/scene.glsl Outdated
@Kaleb-Reid Kaleb-Reid force-pushed the compat-refprobe-no-tonemap branch 2 times, most recently from aa7bfb0 to a04871a Compare January 27, 2026 20:44
@Kaleb-Reid Kaleb-Reid force-pushed the compat-refprobe-no-tonemap branch from a04871a to 7fcad41 Compare January 27, 2026 20:51
@allenwp allenwp removed cherrypick:4.4 Considered for cherry-picking into a future 4.4.x release cherrypick:4.5 Considered for cherry-picking into a future 4.5.x release labels Mar 6, 2026
@allenwp

allenwp commented Mar 6, 2026

Copy link
Copy Markdown
Contributor

Although the existing behaviour is objectively a bug, I believe it is best not to cherry pick this sort of behaviour change because this bug is not critical, not a regression, and most importantly existing projects may have their visuals tweaked to look good with the existing behaviour. For these reasons, I’ve removed the cherry pick labels.

@blueskythlikesclouds blueskythlikesclouds left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Would this cause color clipping in reflection probes? Or was that never ever a concern?

@clayjohn

clayjohn commented Apr 1, 2026

Copy link
Copy Markdown
Member

Would this cause color clipping in reflection probes? Or was that never ever a concern?

Ya, this will cause clipping since probes use RGB10A2 format. We probably need to be more clever here and use a reversible tonemapper for both reflection probes and sky, or just accept that clipping is going to happen

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.

Compatibility: Tonemapper Exposure Affects Reflection Brightness

6 participants