summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2018-10-19 22:58:01 +0100
committerGraham Linden <graham@lindenlab.com>2018-10-19 22:58:01 +0100
commitc06bd45df96c117172b83e7f8b2a8e03c5fd88e5 (patch)
treed169e36002062d6de1219fb0cd0969bbe631d65c /indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
parent75858d9f3ff1f6adae4e6b4c4726eecfc57d0e11 (diff)
SL-9928
De-hackify WL additive to get better match between ALM and non-ALM rendering without bringing back SL-1491 lens flare bug.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl3
1 files changed, 0 insertions, 3 deletions
diff --git a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
index 414ba3236a..99dbee15ee 100644
--- a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
+++ b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsVarsV.glsl
@@ -73,9 +73,6 @@ void setAmblitColor(vec3 v)
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.8));
additive_color = v;
vary_AdditiveColor = v;
}