summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class3/lighting/lightV.glsl
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-05-07 15:36:43 -0700
committerGraham Linden <graham@lindenlab.com>2019-05-07 15:36:43 -0700
commita1e8042c1f2f1ab0ed5b6040535348974e659556 (patch)
tree6dc73e850b3f3be2d202ede8fee351302bd582ee /indra/newview/app_settings/shaders/class3/lighting/lightV.glsl
parent570bbdb779f5e4be0c1804862bdffc9c5a1beb1b (diff)
SL-11055, SL-10966, SL-11087
Make haze look more like WL. Make lack of sun and moon mean black and fixed dir to prevent spooky underlighting.
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/lighting/lightV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class3/lighting/lightV.glsl4
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class3/lighting/lightV.glsl b/indra/newview/app_settings/shaders/class3/lighting/lightV.glsl
index 69267621a3..48c883d98a 100644
--- a/indra/newview/app_settings/shaders/class3/lighting/lightV.glsl
+++ b/indra/newview/app_settings/shaders/class3/lighting/lightV.glsl
@@ -31,8 +31,8 @@ vec4 sumLights(vec3 pos, vec3 norm, vec4 color);
vec4 calcLighting(vec3 pos, vec3 norm, vec4 color)
{
- vec4 c = sumLights(pos, norm, color * 2.0);
+ vec4 c = sumLights(pos, norm, color);
c.rgb += atmosAmbient() * color.rgb;
- return c * 2.0;
+ return c;
}