diff options
author | Graham Linden <graham@lindenlab.com> | 2019-01-08 09:47:21 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-01-08 09:47:21 -0800 |
commit | 368602fb8168b95a889cadba85242a42c0f53049 (patch) | |
tree | 6fe71feb03ecbaccf4f182b923dd6944ead61d21 /indra/newview/app_settings/shaders/class1/deferred | |
parent | 40208fd820cf99681aff01d0cd688c861ae7acb7 (diff) | |
parent | 84bb8e1167fde0ceac4c40bcc2b1841238817097 (diff) |
Merge
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/waterF.glsl | 5 |
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 9da2548586..2acfe58e82 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl @@ -67,10 +67,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; } |