diff options
author | Graham Linden <graham@lindenlab.com> | 2019-05-03 12:02:59 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-05-03 12:02:59 -0700 |
commit | 89c24095c6c1b778b93a4eb7ad398627f4d5479f (patch) | |
tree | 2a51ca4473f7b3d91c79bac36aa333f3f28acdcd /indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl | |
parent | 8d32aade01b0b87bd626a81f68b210538e90095b (diff) |
SL-11085
Remove ambient term clamping to get less dark shadows where we want less dark shadows in ALM.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl b/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl index b00e2290a9..c4d89f29f6 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl @@ -223,7 +223,7 @@ void main() float ambient = da; ambient *= 0.5; ambient *= ambient; - ambient = max(getAmbientClamp(), ambient); // keeps shadows dark + //ambient = max(getAmbientClamp(), ambient); // keeps shadows dark ambient = 1.0 - ambient; vec3 sun_contrib = min(final_da, shadow) * sunlit; |