Blender Git Loki
Git Commits -> Revision 556478c
Revision 556478c by Clément Foucault (eevee-rewrite, temp-eevee-gpencil-rewrite, viewport-compositor) April 27, 2021, 01:15 (GMT) |
EEVEE: Shadow: Add back soft shadows support We use a new RNG to avoid correlation artifacts between Anti-Aliasing and Shadow samples (see T68594). The new sequence is a leap halton sequence. This makes it good with low number of samples and yield less correlation issues. Another change is that we directly jitter the projection matrix instead of rotating the view matrix. This is improving convergence time and avoid passing a second matrix to the shader. However this case lead to discontinuity artifacts at face boders. We might want to revert to the old rotation method for this reason even if convergence is slower. |
Commit Details:
Full Hash: 556478c20e6e2725193c66490eca1efe2a56fb36
Parent Commit: 5df8d5a
Lines Changed: +193, -22
6 Modified Paths:
/source/blender/draw/engines/eevee/eevee_light.cc (+12, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_sampling.hh (+50, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_shader_shared.hh (+14, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.cc (+99, -12) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.hh (+17, -3) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_shadow_lib.glsl (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_sampling.hh (+50, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_shader_shared.hh (+14, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.cc (+99, -12) (Diff)
/source/blender/draw/engines/eevee/eevee_shadow.hh (+17, -3) (Diff)
/source/blender/draw/engines/eevee/shaders/eevee_shadow_lib.glsl (+1, -0) (Diff)