summaryrefslogtreecommitdiff
path: root/indra/newview
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview')
-rw-r--r--indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl b/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
index 7f566e67fa..d211064701 100644
--- a/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
+++ b/indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl
@@ -183,7 +183,10 @@ void main()
frag *= screen_res;
vec4 pos = vec4(vary_position, 1.0);
+#ifndef IS_AVATAR_SKIN
+ // clip against water plane unless this is a legacy avatar skin
waterClip(pos.xyz);
+#endif
vec3 norm = vary_norm;
float shadow = 1.0f;
@@ -298,7 +301,6 @@ void main()
#endif // #else // FOR_IMPOSTOR
- //color.rgb = waterPlane.xyz * 0.5 + 0.5;
frag_color = color;
}