summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1
diff options
context:
space:
mode:
authorTofu Linden <tofu.linden@lindenlab.com>2010-03-07 09:41:47 +0000
committerTofu Linden <tofu.linden@lindenlab.com>2010-03-07 09:41:47 +0000
commitbd884d89e9d278454f0c9f27d5083a9d6500d582 (patch)
tree22b17931b2d5b7143837e60ed1929b4ba08428a6 /indra/newview/app_settings/shaders/class1
parent665567e2f97f8ec4de2810fb63d6b845e67833e2 (diff)
Remove an extraneous normalize() from the water fragment shader - the last thing we did to this vector was normalize it anyway.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/waterF.glsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl b/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
index 5cb8bbba0f..411c4bc1c3 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
@@ -132,7 +132,7 @@ void main()
//color.a = spec * sunAngle2;
//wavef.z *= 0.1f;
- wavef = normalize(wavef);
+ //wavef = normalize(wavef);
wavef = (norm_mat*vec4(wavef, 1.0)).xyz;
gl_FragData[0] = vec4(color.rgb, 0.5);