summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-06-28 15:33:39 -0700
committerGraham Linden <graham@lindenlab.com>2019-06-28 15:33:39 -0700
commit118151750d908a8990bd611afc1dc9be7563ce6e (patch)
tree219ce4b08bdbcb442c1d3b970e611bdfaf6c4b92 /indra/newview
parent83d3e565f702c5c7baefbe7800428ae80da134c5 (diff)
SL-11381
Make fullbright alpha test use correct handling when mask cutoff == 0.
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl7
1 files changed, 1 insertions, 6 deletions
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;
}