Merge pull request #110077 from clayjohn/mobile-glow

Overhaul and optimize Glow in the mobile renderer
This commit is contained in:
Thaddeus Crews 2025-10-31 09:23:32 -05:00
commit 3c1e479290
No known key found for this signature in database
GPG key ID: 8C6E5FEB5FC03CCC
22 changed files with 1524 additions and 519 deletions

View file

@ -1572,7 +1572,7 @@ Environment::Environment() {
set_camera_feed_id(bg_camera_feed_id);
glow_levels.resize(7);
glow_levels.write[0] = 1.0;
glow_levels.write[0] = 0.0;
glow_levels.write[1] = 0.8;
glow_levels.write[2] = 0.4;
glow_levels.write[3] = 0.1;

View file

@ -168,7 +168,7 @@ private:
float glow_mix = 0.05;
float glow_bloom = 0.0;
GlowBlendMode glow_blend_mode = GLOW_BLEND_MODE_SCREEN;
float glow_hdr_bleed_threshold = 1.0;
float glow_hdr_bleed_threshold = 0.0;
float glow_hdr_bleed_scale = 2.0;
float glow_hdr_luminance_cap = 12.0;
float glow_map_strength = 0.8f;