summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-05-03 12:02:59 -0700
committerGraham Linden <graham@lindenlab.com>2019-05-03 12:02:59 -0700
commit89c24095c6c1b778b93a4eb7ad398627f4d5479f (patch)
tree2a51ca4473f7b3d91c79bac36aa333f3f28acdcd /indra/newview/app_settings/shaders/class1/deferred/alphaF.glsl
parent8d32aade01b0b87bd626a81f68b210538e90095b (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.glsl2
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;