diff options
author | Graham Linden <graham@lindenlab.com> | 2019-06-12 14:09:47 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-06-12 14:09:47 -0700 |
commit | c68c9678a3fccf031532bfb813ecffce89f39f67 (patch) | |
tree | 2b1e0817ade7ff2faf9cf73d93c75190fc6746a0 /indra/newview/app_settings | |
parent | 653133b9c035e7c34563b199e991189ca3046092 (diff) |
SL-11406
Adjust atmospheric lighting in frag shader.
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl index ee9c990b12..ee745b48c2 100644 --- a/indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl +++ b/indra/newview/app_settings/shaders/class2/windlight/atmosphericsF.glsl @@ -36,8 +36,8 @@ vec3 atmosFragLighting(vec3 light, vec3 additive, vec3 atten) return light; } light *= atten.r; - light += additive; - return light * 2.0; + light += additive * 2.0; + return light; } vec3 atmosLighting(vec3 light) |