summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred
diff options
context:
space:
mode:
authorGraham Linden <graham@lindenlab.com>2013-07-22 15:00:35 -0700
committerGraham Linden <graham@lindenlab.com>2013-07-22 15:00:35 -0700
commitdcee5fe14f1299f7cbfe535e696ac213e7636bb8 (patch)
tree947e4989c3181c4ebb7ecc835b1c81ef3ee7f28a /indra/newview/app_settings/shaders/class1/deferred
parent6f62251a3d29ced4193a9a80965f33fe0318d5a0 (diff)
NORSPEC-320 fix fullbright alpha breakage when not underwater
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred')
-rwxr-xr-xindra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl b/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl
index a6f55dfb46..a532b67cd9 100755
--- a/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/fullbrightF.glsl
@@ -143,6 +143,8 @@ void main()
vec4 fogged = applyWaterFogDeferred(pos, vec4(color.rgb, final_alpha));
color.rgb = fogged.rgb;
color.a = fogged.a;
+#else
+ color.a = final_alpha;
#endif
frag_color.rgb = color.rgb;