X Tutup
Skip to content

Fix glow visual compatibility regression#112471

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
Rudra-ravi:claude/fix-godot-official-issues-011CUrnHud9iQ4LV6FDv2hG7
Nov 10, 2025
Merged

Fix glow visual compatibility regression#112471
Repiteo merged 1 commit intogodotengine:masterfrom
Rudra-ravi:claude/fix-godot-official-issues-011CUrnHud9iQ4LV6FDv2hG7

Conversation

@Rudra-ravi
Copy link

Reverts the default value of Environment.glow_hdr_threshold from 0.0 back to 1.0 to restore the expected glow appearance in existing projects.

The default was inadvertently changed from 1.0 to 0.0 in PR #110077, which caused glow effects to render dramatically different across all rendering methods (Forward+, Mobile, and GL Compatibility). This broke backward compatibility with existing projects like the Kenney 3D Platformer starter kit.

Setting the value back to 1.0 aligns with documented recommendations and restores visual consistency.

Fixes #112469

@AThousandShips AThousandShips changed the title Fix glow visual compatibility regression (issue #112469) Fix glow visual compatibility regression Nov 6, 2025
@AThousandShips AThousandShips requested a review from a team November 6, 2025 14:40
@AThousandShips AThousandShips added this to the 4.6 milestone Nov 6, 2025
Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

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

You need to change the default value everywhere, not just in Environment.h

Is one place:

float glow_hdr_bleed_threshold = 0.0;

You should look at the original PR to find the other places where it needs to be changed.

After that, you need to run doctool to update the documentation. How to do that is described here: https://contributing.godotengine.org/en/latest/documentation/class_reference.html#updating-class-reference-when-working-on-the-engine

Reverts the default value of Environment.glow_hdr_threshold from 0.0
back to 1.0 to restore the expected glow appearance in existing projects.

The default was inadvertently changed from 1.0 to 0.0 in PR godotengine#110077,
which caused glow effects to render dramatically different across all
rendering methods (Forward+, Mobile, and GL Compatibility). This broke
backward compatibility with existing projects like the Kenney 3D
Platformer starter kit.

Changed files:
- scene/resources/environment.h
- servers/rendering/storage/environment_storage.h
- drivers/gles3/effects/glow.h
- drivers/gles3/rasterizer_scene_gles3.cpp
- doc/classes/Environment.xml

Setting the value back to 1.0 aligns with documented recommendations
and restores visual consistency.

Fixes godotengine#112469
@Rudra-ravi Rudra-ravi force-pushed the claude/fix-godot-official-issues-011CUrnHud9iQ4LV6FDv2hG7 branch from e6f5b71 to 802eb0b Compare November 7, 2025 04:08
@Rudra-ravi Rudra-ravi requested a review from a team as a code owner November 7, 2025 04:08
@Rudra-ravi Rudra-ravi requested a review from clayjohn November 8, 2025 03:49
Copy link
Member

@clayjohn clayjohn left a comment

Choose a reason for hiding this comment

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

Looks fine to me. Thanks for making the requested changes!

@Repiteo Repiteo merged commit a627ee6 into godotengine:master Nov 10, 2025
20 checks passed
@Repiteo
Copy link
Contributor

Repiteo commented Nov 10, 2025

Thanks! Congratulations on your first merged contribution! 🎉

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.

Glow behavior compatibility breakage due to changing default Environment.glow_hdr_threshold to 0 (regression from #110077)

5 participants

X Tutup