summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
diff options
context:
space:
mode:
authorRider Linden <rider@lindenlab.com>2019-02-01 21:53:44 +0000
committerRider Linden <rider@lindenlab.com>2019-02-01 21:53:44 +0000
commit6eb180f790c248005bafb8cfb87bb5f575ee129e (patch)
tree0cd461cd6304901f2a82db8d6f40593771343985 /indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
parente1627330c9d568abca65c2451919c5a6e55dfec3 (diff)
parent8b4a86db298335de52db114d63a153808dfde36a (diff)
Merged in graham_linden/viewer-eep-fixes (pull request #261)
SL-9996, SL-1130, SL-5546
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred/waterF.glsl')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/waterF.glsl3
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl b/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
index 40d4c24d34..ee028d8194 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
@@ -165,11 +165,10 @@ void main()
color.rgb = atmosTransport(color.rgb);
color.rgb = scaleSoftClipFrag(color.rgb);
- color.a = spec * sunAngle2;
vec3 screenspacewavef = normalize((norm_mat*vec4(wavef, 1.0)).xyz);
- frag_data[0] = vec4(color.rgb, color); // diffuse
+ frag_data[0] = vec4(color.rgb, 1); // diffuse
frag_data[1] = vec4(0); // speccolor, spec
frag_data[2] = vec4(encode_normal(screenspacewavef.xyz*0.5+0.5), 0.05, 0);// normalxy, 0, 0
}