summaryrefslogtreecommitdiff
path: root/indra
diff options
context:
space:
mode:
authorJonathan "Geenz" Goodman <geenz@geenzo.com>2024-02-01 15:34:34 -0800
committerJonathan "Geenz" Goodman <geenz@geenzo.com>2024-02-01 15:34:34 -0800
commit2d4a63833c2515ae36c614fce8101f41be0e1d61 (patch)
treebb6cacd75f9d88b24a37766ee2774900384dbe0f /indra
parent8cf4a7182af7db021a636b68af0f5fec1a032e41 (diff)
#677 Clip underwater.
Diffstat (limited to 'indra')
-rw-r--r--indra/newview/app_settings/shaders/class3/environment/underWaterF.glsl2
1 files changed, 2 insertions, 0 deletions
diff --git a/indra/newview/app_settings/shaders/class3/environment/underWaterF.glsl b/indra/newview/app_settings/shaders/class3/environment/underWaterF.glsl
index 223e55eb69..ef086fc3be 100644
--- a/indra/newview/app_settings/shaders/class3/environment/underWaterF.glsl
+++ b/indra/newview/app_settings/shaders/class3/environment/underWaterF.glsl
@@ -55,9 +55,11 @@ in vec4 view;
in vec3 vary_position;
vec4 applyWaterFogViewLinearNoClip(vec3 pos, vec4 color);
+void mirrorClip(vec3 position);
void main()
{
+ mirrorClip(vary_position);
vec4 color;
//get detail normals