Blender Git Loki
Git Commits -> Revision 144d9b9
Revision 144d9b9 by Clément Foucault (eevee-dof-refactor) January 6, 2021, 13:12 (GMT) |
EEVEE: Depth of field: Improve scatter pass This makes each sprite scatter 4 pixels instead of one. This roughly divides the render time of the effect by two and improve the color precision. The single pass method was creating issues on near/far CoC discontinuities, so we reverted to a 2 pass method even if a bit more costly (but still is 2x faster). |
Commit Details:
Full Hash: 144d9b901e27e3134ef70faebddf54094619171a
Parent Commit: 7cd6f66
Lines Changed: +164, -143
6 Modified Paths:
/source/blender/draw/engines/eevee/eevee_depth_of_field.c (+45, -27) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+5, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_frag.glsl (+42, -51) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_vert.glsl (+68, -53) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_effect_dof_frag.glsl (+2, -7) (Diff)
/source/blender/draw/intern/shaders/common_math_lib.glsl (+2, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+5, -5) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_frag.glsl (+42, -51) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_vert.glsl (+68, -53) (Diff)
/source/blender/draw/engines/workbench/shaders/workbench_effect_dof_frag.glsl (+2, -7) (Diff)
/source/blender/draw/intern/shaders/common_math_lib.glsl (+2, -0) (Diff)