SL-13768 remove moon glow from ALM deferred path as well

meow-7.2.2
Dave Houlton 2020-09-15 16:52:13 -06:00
parent bcd2560808
commit be99bca2c3
1 changed files with 2 additions and 3 deletions

View File

@ -153,9 +153,8 @@ void main()
// glow.z should be negative, so we're doing a sort of (1 / "angle") function
// Add "minimum anti-solar illumination"
temp2.x += .25;
temp2.x *= sun_moon_glow_factor;
// For sun, add to glow. For moon, remove glow entirely. SL-13768
temp2.x = (sun_moon_glow_factor < 1.0) ? 0.0 : (sun_moon_glow_factor * (temp2.x + 0.25));
// Haze color above cloud
vec4 color = ( blue_horizon * blue_weight * (sunlight + ambient_color)