diff options
author | Graham Linden <graham@lindenlab.com> | 2019-05-07 15:36:43 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-05-07 15:36:43 -0700 |
commit | a1e8042c1f2f1ab0ed5b6040535348974e659556 (patch) | |
tree | 6dc73e850b3f3be2d202ede8fee351302bd582ee /indra/newview/app_settings/shaders/class3 | |
parent | 570bbdb779f5e4be0c1804862bdffc9c5a1beb1b (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')
-rw-r--r-- | indra/newview/app_settings/shaders/class3/lighting/lightV.glsl | 4 |
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; } |