summaryrefslogtreecommitdiff
path: root/indra
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
commita6c5980978c95ba8a4e4dd8822c644e9fe8a2e69 (patch)
tree388731b78946a3f73dfed77bddca4c2ba6a4ae94 /indra
parent181b0a4edec814ef53ee243371c9935cf72704e8 (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')
-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);