Fix glow visual compatibility regression (issue #112469)
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. 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 #112469
This commit is contained in:
@ -49,7 +49,7 @@ private:
|
||||
|
||||
float glow_intensity = 1.0;
|
||||
float glow_bloom = 0.0;
|
||||
float glow_hdr_bleed_threshold = 0.0;
|
||||
float glow_hdr_bleed_threshold = 1.0;
|
||||
float glow_hdr_bleed_scale = 2.0;
|
||||
float glow_hdr_luminance_cap = 12.0;
|
||||
|
||||
|
||||
@ -2829,7 +2829,7 @@ void RasterizerSceneGLES3::_render_post_processing(const RenderDataGLES3 *p_rend
|
||||
bool glow_enabled = false;
|
||||
float glow_intensity = 1.0;
|
||||
float glow_bloom = 0.0;
|
||||
float glow_hdr_bleed_threshold = 0.0;
|
||||
float glow_hdr_bleed_threshold = 1.0;
|
||||
float glow_hdr_bleed_scale = 2.0;
|
||||
float glow_hdr_luminance_cap = 12.0;
|
||||
float srgb_white = 1.0;
|
||||
|
||||
Reference in New Issue
Block a user