summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/environment/waterV.glsl
diff options
context:
space:
mode:
authorMonty Brandenberg <monty@lindenlab.com>2013-07-18 17:27:31 -0400
committerMonty Brandenberg <monty@lindenlab.com>2013-07-18 17:27:31 -0400
commit1bea6e50aa11f691759c6c30850a3415edaa6383 (patch)
tree803fb6c5b2ffcec6296a333fe25a9d0c60abceba /indra/newview/app_settings/shaders/class1/environment/waterV.glsl
parentd6d2159bf875884bb060aaf8234478dd1ec478b4 (diff)
parent6060e5e46acbeb20a301070a0fd0efea029d33d0 (diff)
Merge. Refresh from viewer-release.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/environment/waterV.glsl')
-rwxr-xr-xindra/newview/app_settings/shaders/class1/environment/waterV.glsl3
1 files changed, 2 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 5aff156eae..352cea7aaa 100755
--- a/indra/newview/app_settings/shaders/class1/environment/waterV.glsl
+++ b/indra/newview/app_settings/shaders/class1/environment/waterV.glsl
@@ -82,7 +82,8 @@ void main()
pos.w = 1.0;
pos = modelview_matrix*pos;
- calcAtmospherics(view.xyz);
+ calcAtmospherics(pos.xyz);
+
//pass wave parameters to pixel shader
vec2 bigWave = (v.xy) * vec2(0.04,0.04) + d1 * time * 0.055;