diff options
author | Graham Linden <graham@lindenlab.com> | 2019-01-14 11:20:31 -0800 |
---|---|---|
committer | Graham Linden <graham@lindenlab.com> | 2019-01-14 11:20:31 -0800 |
commit | adac468cc160eab148008861000b27df6380817c (patch) | |
tree | 375e20f7b3404b5e54c86d00d383c3ea0d470a9a /indra/newview/app_settings/shaders/class1/deferred | |
parent | 3cb7eb639398db5f1828f6afb45e2313434b75f7 (diff) |
SL-10355
Modify distortion vec calc in shader to account for modified range of reflection scale above/below.
Diffstat (limited to 'indra/newview/app_settings/shaders/class1/deferred')
-rw-r--r-- | indra/newview/app_settings/shaders/class1/deferred/waterF.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl b/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl index 2acfe58e82..ceadb9fb67 100644 --- a/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl +++ b/indra/newview/app_settings/shaders/class1/deferred/waterF.glsl @@ -149,7 +149,7 @@ void main() spec = pow(spec, 128.0); //figure out distortion vector (ripply) - vec2 distort2 = distort+wavef.xy*refScale/max(dmod*df1, 1.0); + vec2 distort2 = distort+wavef.xy*refScale * 0.33/max(dmod*df1, 1.0); vec4 fb = texture2D(screenTex, distort2); |