summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2019-06-18 14:44:10 -0700
committerGraham Linden <graham@lindenlab.com>2019-06-18 14:44:10 -0700
commit81c90124829c6830a3511bd6064e4ff07c94e35a (patch)
tree83d66f93ccb81ac6fb13195727957cb78e5b657d /indra
parent5bd055fe585233b3c43e02f2082f5a95f79b825b (diff)
SL-11406
Fix alpha output of fullbright deferred materials objects.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/materialF.glsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl b/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
index 6e5ec7d34c..a82af996a1 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/materialF.glsl
@@ -280,6 +280,10 @@ void main()
final_color.a = max(final_color.a, emissive_brightness);
#endif
+#if !defined(HAS_NORMAL_MAP)
+ final_color.a = 0.0f;
+#endif
+
vec4 final_specular = spec;
final_specular.a = specular_color.a;
#ifdef HAS_SPECULAR_MAP