summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-01-08 17:18:29 +0000
committerRider Linden <rider@lindenlab.com>2019-01-08 17:18:29 +0000
commit721a8d20b73a921a6bb4ac5b9e0d0ca5a870f4fc (patch)
treee8d1584251e96b4cf12422e8f00f57172ca9547a /indra/newview/app_settings
parent1871f03d12e7a8e388d188f87e612117bcda75c1 (diff)
parentaed659c5b4cb5ac2378b4aadc91468bbaf9c4362 (diff)
Merged in graham_linden/viewer-eep-sl-10304 (pull request #218)
SL-10304
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/waterF.glsl5
1 files changed, 1 insertions, 4 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl b/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
index 69543b93ea..869c9e7927 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
@@ -68,10 +68,7 @@ vec3 scaleSoftClipFrag(vec3 l);
vec3 BlendNormal(vec3 bump1, vec3 bump2)
{
- //vec3 normal = bump1.xyz * vec3( 2.0, 2.0, 2.0) - vec3(1.0, 1.0, 0.0);
- //vec3 normal2 = bump2.xyz * vec3(-2.0, -2.0, 2.0) + vec3(1.0, 1.0, -1.0);
- //vec3 n = normalize(normal * dot(normal, normal2) - (normal2 * normal.z));
- vec3 n = normalize(mix(bump1, bump2, blend_factor));
+ vec3 n = mix(bump1, bump2, blend_factor);
return n;
}