summaryrefslogtreecommitdiff
path: root/indra/newview/app_settings/shaders/class1/deferred
diff options
context:
space:
mode:
authorDave Parks <davep@lindenlab.com>2022-09-29 00:19:52 -0500
committerDave Parks <davep@lindenlab.com>2022-09-29 00:19:52 -0500
commit411aa9f727efba971c8577cef4d6a31f096a6fea (patch)
tree7cc32ed6726014613c8a38bee9a5d79476249a3c /indra/newview/app_settings/shaders/class1/deferred
parent2e499bcc40871b6a68700203cc83fe7d81c79c24 (diff)
SL-18190 Fix for haze color being completely wrong (now it's just half wrong).
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred')
-rw-r--r--indra/newview/app_settings/shaders/class1/deferred/waterF.glsl4
1 files changed, 2 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 c9e7552312..58a444a763 100644
--- a/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
+++ b/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl
@@ -178,9 +178,9 @@ void main()
// TODO: The non-obvious assignment below is copied from the pre-EEP WL shader code
// Unfortunately, fixing it causes a mismatch for EEP, and so it remains... for now
// SL-12975 (unfix pre-EEP broken alpha)
- frag_data[0] = vec4(srgb_to_linear(color.rgb), 0.0); // Effectively, color.rgbr
+ frag_data[0] = vec4(srgb_to_linear(color.rgb), 0.0);
- frag_data[1] = vec4(1.0, 0.2, 0.0, 0.0); // speccolor, spec
+ frag_data[1] = vec4(1.0, 0.1, 0.0, 0.0); // occlusion, roughness, metalness
frag_data[2] = vec4(encode_normal(screenspacewavef.xyz), 0.0, GBUFFER_FLAG_HAS_PBR);// normalxy, env intens, flags (atmo kill)
frag_data[3] = vec4(srgb_to_linear(refcol.rgb),0);