summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-04-24 10:33:13 -0700
committerGraham Linden <graham@lindenlab.com>2019-04-24 10:33:13 -0700
commitca16874379bf76dd844d57b2ee59da531d642a8e (patch)
tree4199a8e3af4ce3f488d48721b0477339083659f0 /indra
parentebd7306948880361422be3187ad7be1c5c64bccb (diff)
SL-11027
Fix incorrect discard on fullbrights w/ alpha mask and cutoff > 1.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl
index f8b1ff44c8..f98fc0d518 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl
@@ -63,7 +63,7 @@ void main()
float final_alpha = color.a * vertex_color.a;
#ifdef HAS_ALPHA_MASK
- if (final_alpha < minimum_alpha)
+ if (color.a < minimum_alpha)
{
discard;
}