From 7396879ef6ba11ea387bb799b4ab89c82e569f45 Mon Sep 17 00:00:00 2001 From: Dave Houlton Date: Fri, 28 Aug 2020 09:50:01 -0600 Subject: SL-13768 remove moon glow from sky and clouds --- indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl') diff --git a/indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl b/indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl index 495daa2db6..b9c19981d2 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/cloudsV.glsl @@ -161,7 +161,8 @@ void main() temp2.x *= sun_moon_glow_factor; // Add "minimum anti-solar illumination" - temp2.x += .25; + // For sun, add to glow. For moon, remove glow entirely. SL-13768 + temp2.x = (sun_moon_glow_factor < 1.0) ? 0.0 : (temp2.x + 0.25); // Increase ambient when there are more clouds vec4 tmpAmbient = ambient_color; -- cgit v1.2.3