summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/waterV.glsl
diff options
context:
space:
mode:
authorPtolemy <ptolemy@lindenlab.com>2021-06-25 10:23:05 -0700
committerPtolemy <ptolemy@lindenlab.com>2021-06-25 10:23:05 -0700
commit06969e980ee3cc16a61a934b9c6bc252149c15c9 (patch)
tree7f2e455b85abe03df5220733e0a78676151179f8 /indra/newview/app_settings/shaders/class1/deferred/waterV.glsl
parent3a98311ce76b4dfdc4c4aa7e4639945289b80c6a (diff)
SL-11589: Fix horizon being U shaped bent in Low+ quality
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/waterV.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/waterV.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/waterV.glsl b/indra/newview/app_settings/shaders/class1/deferred/waterV.glsl
index 8863869e44..38276859a0 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/waterV.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/waterV.glsl
@@ -70,7 +70,7 @@ void main()
d *= d;
oPosition = vec4(position, 1.0);
- oPosition.z = mix(oPosition.z, max(eyeVec.z*0.75, 0.0), d);
+// oPosition.z = mix(oPosition.z, max(eyeVec.z*0.75, 0.0), d); // SL-11589 remove "U" shaped horizon
vary_position = modelview_matrix * oPosition;
oPosition = modelViewProj * oPosition;