diff options
author | Cosmic Linden <cosmic@lindenlab.com> | 2023-10-24 16:53:27 -0700 |
---|---|---|
committer | Cosmic Linden <cosmic@lindenlab.com> | 2023-10-24 17:50:49 -0700 |
commit | 3ea1faf73cfc77c6e6213121e8afe4b101a6e4a6 (patch) | |
tree | 982075e9415c551ba3bf0cc93b10734928565744 /indra/newview/app_settings | |
parent | cba71633559ccdfd394983a6086da816e739a730 (diff) |
SL-20065: Hack to reduce black spots on shiny water
Diffstat (limited to 'indra/newview/app_settings')
-rw-r--r-- | indra/newview/app_settings/shaders/class3/environment/waterF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class3/environment/waterF.glsl b/indra/newview/app_settings/shaders/class3/environment/waterF.glsl index 4f79dd1ac5..ddade462be 100644 --- a/indra/newview/app_settings/shaders/class3/environment/waterF.glsl +++ b/indra/newview/app_settings/shaders/class3/environment/waterF.glsl @@ -280,7 +280,7 @@ void main() f = clamp(f, 0, 1); - color = mix(color, fb.rgb, f); + color = ((1.0 - f) * color) + fb.rgb; color = atmosFragLightingLinear(color, additive, atten); |