diff options
author | Dave Parks <davep@lindenlab.com> | 2022-10-13 12:55:47 -0500 |
---|---|---|
committer | Dave Parks <davep@lindenlab.com> | 2022-10-13 12:55:47 -0500 |
commit | bb70a2bc773c34e50020abf3679cbbd566cb7dfa (patch) | |
tree | 2444d0ce670083879b1a1e4aa37787ce2eeee425 /indra/newview/app_settings/shaders/class3/deferred | |
parent | 0e3f8db632e2f616b0ab9bd3363c20d2f1acb549 (diff) |
SL-18190 Tweak reflection probe mixing on water.
Diffstat (limited to 'indra/newview/app_settings/shaders/class3/deferred')
-rw-r--r-- | indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl b/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl index 6d3bff0562..211e1f5d8d 100644 --- a/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl +++ b/indra/newview/app_settings/shaders/class3/deferred/reflectionProbeF.glsl @@ -445,8 +445,8 @@ vec3 sampleProbes(vec3 pos, vec3 dir, float lod, bool errorCorrect) // weight by vector correctness vec3 pi = normalize(wi - pos); - w = max(dot(pi, dir), 0.1); - w = pow(w, 32.0); + w *= max(dot(pi, dir), 0.1); + //w = pow(w, 32.0); } else { |