From 118151750d908a8990bd611afc1dc9be7563ce6e Mon Sep 17 00:00:00 2001 From: Graham Linden Date: Fri, 28 Jun 2019 15:33:39 -0700 Subject: SL-11381 Make fullbright alpha test use correct handling when mask cutoff == 0. --- .../newview/app_settings/shaders/class1/deferred/fullbrightF.glsl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'indra/newview/app_settings/shaders') diff --git a/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl index f7368e8652..c104dc884f 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl @@ -65,12 +65,7 @@ void main() float final_alpha = color.a * vertex_color.a; #ifdef HAS_ALPHA_MASK - if (color.a < 0.05) - { - discard; - } - - if (minimum_alpha > 0 && color.a < minimum_alpha) + if (color.a < minimum_alpha) { discard; } -- cgit v1.2.3