diff options
author | Graham Linden <graham@lindenlab.com> | 2019-03-13 13:56:04 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-03-13 13:56:04 -0700 |
commit | c10754ea6d47f88f3499f86543a7d6c7d439fda6 (patch) | |
tree | 4febc0cd448df9afd9b6c7c0c3fd141b71ba98f3 /indra/newview/app_settings/shaders/class2 | |
parent | 898c9f44218353b3bf71b78ffce02662b4927625 (diff) |
SL-10741
Remove shadow influence on ambient term causing inverted lighting in extreme setups.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl index 484c0cae3e..27532ce458 100644 --- a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl @@ -123,7 +123,7 @@ void main() float ambient = abs(da); ambient *= 0.5; ambient *= ambient; - ambient = 1.0 - ambient * smoothstep(0.0, 0.3, scol); + ambient = 1.0 - ambient; vec3 sun_contrib = min(da,scol) * sunlit; |