summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-04-18 20:21:47 +0000
committerRider Linden <rider@lindenlab.com>2019-04-18 20:21:47 +0000
commit11d1c28d82e8c2e53a4d161eefac4c1733467fd3 (patch)
treee144c53ec7365af21ff9190ab09adc2b7393aa75 /indra/newview/app_settings/shaders
parent665caabbabd6f99164cbdc4aa7b5301bff300414 (diff)
parent935adb60831166af49a61b4af97526819d54cb23 (diff)
Merged in graham_linden/viewer-eep-rc-fixes (pull request #360)
SL-10966
Diffstat (limited to 'indra/newview/app_settings/shaders')
-rw-r--r--indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl b/indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl
index d503de6f24..1d105690d1 100644
--- a/indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl
+++ b/indra/newview/app_settings/shaders/class1/windlight/atmosphericsFuncs.glsl
@@ -89,7 +89,7 @@ void calcAtmosphericVars(vec3 inPositionEye, float ambFactor, out vec3 sunlit, o
sunlight *= exp(-light_atten * temp2.y);
// main atmospheric scattering line integral
- temp2.z = Plen * dens_mul / 2.0f; // 2.0 to get range back to what it was pre-EEP...
+ temp2.z = Plen * dens_mul;
// Transparency (-> temp1)
// ATI Bugfix -- can't store temp1*temp2.z*dist_mul in a variable because the ati