From bb70a2bc773c34e50020abf3679cbbd566cb7dfa Mon Sep 17 00:00:00 2001 From: Dave Parks Date: Thu, 13 Oct 2022 12:55:47 -0500 Subject: SL-18190 Tweak reflection probe mixing on water. --- .../app_settings/shaders/class3/deferred/reflectionProbeF.glsl | 4 ++-- 1 file 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 { -- cgit v1.2.3