summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-05-31 09:19:34 -0700
committerGraham Linden <graham@lindenlab.com>2019-05-31 09:19:34 -0700
commit485c5978e7559471f4dad66fb141408262d75363 (patch)
tree3374bcb6ea79fce674663884a5b71a8af4de00f6 /indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl
parente9b2aa384a84c2e1b5f93f81b72eb028b292ae6a (diff)
SL-11051
Make shadow alpha mask shader ignore vert alpha (if it mattered, it'd be blended anyway). Modify deferred fullbrightF to use same handling of alpha masking as shadows for consistency (esp when mask cutoff == 0).
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl b/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl
index d79d2423f1..96e6f11b96 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl
@@ -43,7 +43,8 @@ void main()
{
float alpha = diffuseLookup(vary_texcoord0.xy).a;
- alpha *= vertex_color.a;
+ // SL-11051
+ //alpha *= vertex_color.a;
if (alpha < 0.05) // treat as totally transparent
{