diff options
author | cosmic-linden <111533034+cosmic-linden@users.noreply.github.com> | 2023-10-25 10:02:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-25 10:02:50 -0700 |
commit | 887226c7d2462306191126cc5bfc0de96e18ad42 (patch) | |
tree | f12fa3dc4a3118307a72941c0ec2bf4668dd2f05 /indra/newview | |
parent | 5c558a92c94c8b6eef930f12cf45824765481c92 (diff) | |
parent | 3ea1faf73cfc77c6e6213121e8afe4b101a6e4a6 (diff) |
Merge pull request #471 from secondlife/SL-20065
SL-20065: Hack to reduce black spots on shiny water
Diffstat (limited to 'indra/newview')
-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); |