summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/windlight
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-06-20 15:07:17 -0700
committerGraham Linden <graham@lindenlab.com>2019-06-20 15:07:17 -0700
commit05ee6b5d9837c31660a79dea55ec877155b49009 (patch)
tree98568f45a8d7435232d19a948b5177024d9b4989 /indra/newview/app_settings/shaders/class2/windlight
parentce82e916de383bf073d1fca7705fcd79a76d657e (diff)
SL-9989
Remove use of distance multiplier from sky shaders (but leave in the atmospherics helpers).
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/windlight')
-rw-r--r--indra/newview/app_settings/shaders/class2/windlight/skyV.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/windlight/skyV.glsl b/indra/newview/app_settings/shaders/class2/windlight/skyV.glsl
index e6a4f3833c..d81a8feb96 100644
--- a/indra/newview/app_settings/shaders/class2/windlight/skyV.glsl
+++ b/indra/newview/app_settings/shaders/class2/windlight/skyV.glsl
@@ -111,7 +111,7 @@ void main()
// Transparency (-> temp1)
// ATI Bugfix -- can't store temp1*temp2.z in a variable because the ati
// compiler gets confused.
- temp1 = exp(-temp1 * temp2.z * dist_mul);
+ temp1 = exp(-temp1 * temp2.z);
// Compute haze glow
temp2.x = dot(Pn, lightnorm.xyz);