diff options
author | Graham Linden <graham@lindenlab.com> | 2019-01-25 10:34:42 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-01-25 10:34:42 -0800 |
commit | 88d4d85711a25772f3659850902e3a395ef2358c (patch) | |
tree | 9a7018cdb86dd4c0dbda2f5a50f954e66a0eba26 /indra/newview/app_settings/shaders/class2/windlight | |
parent | b33f9c4533b1d2f539baf65820ccb07a89389e72 (diff) |
SL-10303
Modify sun disc shader to better position itself within the sun glow and to
fade as the sun approaches the horizon (to mask where the position difference is greatest).
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/windlight')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/windlight/atmosphericsV.glsl | 4 |
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; |