diff options
author | Dave Parks <davep@lindenlab.com> | 2022-10-13 16:15:41 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-10-13 16:15:41 -0500 |
commit | bc6ad18826995103015cfba6018cf1de30070fee (patch) | |
tree | 74304b884b862afdee6a93678f2c3ac19458b685 | |
parent | bb70a2bc773c34e50020abf3679cbbd566cb7dfa (diff) |
SL-18376 Fix for transparent legacy avatar bits disappearing.
-rw-r--r-- | indra/newview/app_settings/shaders/class2/deferred/alphaF.glsl | 4 |
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; } |