summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/environment
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/environment
parent3a98311ce76b4dfdc4c4aa7e4639945289b80c6a (diff)
SL-11589: Fix horizon being U shaped bent in Low+ quality
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/environment')
-rw-r--r--indra/newview/app_settings/shaders/class1/environment/waterV.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/environment/waterV.glsl b/indra/newview/app_settings/shaders/class1/environment/waterV.glsl
index cc41e3f740..35770d3341 100644
--- a/indra/newview/app_settings/shaders/class1/environment/waterV.glsl
+++ b/indra/newview/app_settings/shaders/class1/environment/waterV.glsl
@@ -68,7 +68,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
oPosition = modelViewProj * oPosition;
refCoord.xyz = oPosition.xyz + vec3(0,0,0.2);