diff options
author | Clément Foucault <foucault.clem@gmail.com> | 2018-01-15 19:14:49 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2018-01-16 20:22:24 +0300 |
commit | 84c91be0a4bf83f815406d8f707a60cb51a06d3b (patch) | |
tree | 89785fad1dbe03e004c9475aedd11b9a1b5f60a8 /source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl | |
parent | 39af6c27f58df4da3325b843dadb1608181b83bb (diff) |
Eevee: Fix noise correlation in the blue noise update.
Diffstat (limited to 'source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl')
-rw-r--r-- | source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl b/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl index 6e89b7f0d08..9ccfd127536 100644 --- a/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl +++ b/source/blender/draw/engines/eevee/shaders/lit_surface_frag.glsl @@ -402,7 +402,7 @@ void CLOSURE_NAME( /* ---------------------------- */ #if defined(CLOSURE_GLOSSY) || defined(CLOSURE_DIFFUSE) vec3 bent_normal; - float final_ao = occlusion_compute(N, viewPosition, ao, rand.rg, bent_normal); + float final_ao = occlusion_compute(N, viewPosition, ao, rand.zw, bent_normal); #endif |