From 501cd7d9022d1ac719fb56d22c6a8e3fd5d122ca Mon Sep 17 00:00:00 2001
From: Graham Linden <graham@lindenlab.com>
Date: Mon, 24 Sep 2018 19:50:08 +0100
Subject: SL-9711 modify clamping range on atmospheric additive color to
 balance between maintaining old look of WL settings and fixing SL1491 lens
 flare bug

---
 .../app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
index 3b87c70932..414ba3236a 100644
--- a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
+++ b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
@@ -75,7 +75,7 @@ void setAdditiveColor(vec3 v)
 {
     // SL-1491 clamp additive term to something reasonable to prevent
     // lens flares over non-reflective surfaces
-    v = clamp(v, vec3(0), vec3(0.2));
+    v = clamp(v, vec3(0), vec3(0.8));
 	additive_color = v;
 	vary_AdditiveColor = v;
 }
-- 
cgit v1.2.3