Skip to content
Snippets Groups Projects
Commit bb70a2bc authored by David Parks's avatar David Parks
Browse files

SL-18190 Tweak reflection probe mixing on water.

parent 0e3f8db6
No related branches found
No related tags found
2 merge requests!3Update to main branch,!2Rebase onto current main branch
......@@ -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
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment