summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class2/windlight
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-01-25 22:04:47 +0000
committerRider Linden <rider@lindenlab.com>2019-01-25 22:04:47 +0000
commit64ce16aa078a028a2009d0d76bc2bf2133f033c5 (patch)
treead3a20b8a872306ef058ab428f13087e44724394 /indra/newview/app_settings/shaders/class2/windlight
parent9246be072101e4e09f6ab2655eb78939242bac3f (diff)
parent88d4d85711a25772f3659850902e3a395ef2358c (diff)
Merged in graham_linden/viewer-eep-fixes (pull request #237)
SL-10303
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/windlight')
-rw-r--r--indra/newview/app_settings/shaders/class2/windlight/atmosphericsV.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsV.glsl b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsV.glsl
index 8c1a7c6281..5ccf786fce 100644
--- a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsV.glsl
+++ b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsV.glsl
@@ -62,8 +62,8 @@ void calcAtmospherics(vec3 inPositionEye) {
setPositionEye(P);
//(TERRAIN) limit altitude
- if (P.y > max_y) P *= (max_y / P.y);
- if (P.y < -max_y) P *= (-max_y / P.y);
+ //if (P.y > max_y) P *= (max_y / P.y);
+ //if (P.y < -max_y) P *= (-max_y / P.y);
vec3 tmpLightnorm = lightnorm.xyz;