From ca16874379bf76dd844d57b2ee59da531d642a8e Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Wed, 24 Apr 2019 10:33:13 -0700 Subject: SL-11027 Fix incorrect discard on fullbrights w/ alpha mask and cutoff > 1. --- indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'indra') 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; } -- cgit v1.2.3