summaryrefslogtreecommitdiff
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
commit7b1eac159730ae3d43b4336a41372ac342f18995 (patch)
tree5aa6c1e6481c5971c12e0d1a4158cb483c8f9a8d
parent3af97238f315b421bea057c02353b858d7e02f12 (diff)
Remove an extraneous normalize() from the water fragment shader - the last thing we did to this vector was normalize it anyway.
-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);