diff options
author | Graham Linden <graham@lindenlab.com> | 2019-04-30 10:04:20 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-04-30 10:04:20 -0700 |
commit | bfce96d684d5d056061ce16a36daba9a2bd0aa9d (patch) | |
tree | 440c0f2cbacf246d3759fd94472e028f60b7011b /indra/newview/app_settings/shaders/class2/deferred | |
parent | 6b925711948f69b5361efa3f674b8c9e1b9f6bb4 (diff) |
SL-10856
Remove ambient clamp to keep shadows dark.
Partial fix for class 3 ambient term being wrong.
Diffstat (limited to 'indra/newview/app_settings/shaders/class2/deferred')
-rw-r--r-- | indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl | 1 |
1 files changed, 0 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 06a76668ba..7368b8d80c 100644 --- a/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl +++ b/indra/newview/app_settings/shaders/class2/deferred/softenLightF.glsl @@ -126,7 +126,6 @@ void main() float ambient = da; ambient *= 0.5; ambient *= ambient; - ambient = max(getAmbientClamp(), ambient); ambient = 1.0 - ambient; vec3 sun_contrib = scol * final_da * sunlit; |