diff options
author | Graham Linden <graham@lindenlab.com> | 2019-06-28 15:33:39 -0700 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-06-28 15:33:39 -0700 |
commit | 118151750d908a8990bd611afc1dc9be7563ce6e (patch) | |
tree | 219ce4b08bdbcb442c1d3b970e611bdfaf6c4b92 /indra/newview/app_settings | |
parent | 83d3e565f702c5c7baefbe7800428ae80da134c5 (diff) |
SL-11381
Make fullbright alpha test use correct handling when mask cutoff == 0.
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl | 7 |
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; } |