diff options
author | Graham Linden <graham@lindenlab.com> | 2019-06-18 15:31:22 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-06-18 15:31:22 -0700 |
commit | 0728a31a8ff3d2f9272c2d8c47420cf46ce5ad82 (patch) | |
tree | a34cece5d3f3b6dd58fb3cca50110ab89ac63447 /indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl | |
parent | 81c90124829c6830a3511bd6064e4ff07c94e35a (diff) |
SL-11051
Make genDrawInfo pay more attention to faces with 100% transparency that are not invisiprims.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl b/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl index b2fbd8b86c..0d028d2729 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/shadowAlphaMaskF.glsl @@ -43,8 +43,6 @@ void main() { float alpha = diffuseLookup(vary_texcoord0.xy).a; - alpha *= vertex_color.a; - // mask cutoff 0 -> no shadow SL-11051 if (minimum_alpha == 0) { @@ -64,6 +62,8 @@ void main() } } + alpha *= vertex_color.a; + frag_color = vec4(1,1,1,1); #if !defined(DEPTH_CLAMP) |