Blender Git Commit Log
Git Commits -> Revision 63e898a
Revision 63e898a by Clément Foucault (eevee-dof-refactor) January 20, 2021, 00:43 (GMT) |
EEVEE: Depth Of Field: Add Bokeh shape texture precomputation To support geometric bokeh shapes, we now use a texture to guide the gathered samples and modify the scattered pixels shapes. This is done by a very fast precomputation pass that outputs the bokeh shape to a texture that is then sampled by the convolution pass. |
Commit Details:
Full Hash: 63e898a0ff28545b67784305aac1b0ae259367bf
Parent Commit: 239229c
Lines Changed: +268, -60
1 Added Path:
/source/blender/draw/engines/eevee/shaders/effect_dof_bokeh_frag.glsl (+92, -0) (View)
11 Modified Paths:
/source/blender/draw/CMakeLists.txt (+1, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_depth_of_field.c (+67, -21) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+7, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_shaders.c (+59, -20) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_filter_frag.glsl (+7, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_gather_frag.glsl (+11, -3) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_lib.glsl (+0, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_scatter_frag.glsl (+10, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_scatter_vert.glsl (+8, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_setup_frag.glsl (+3, -1) (Diff)
/source/blender/draw/intern/shaders/common_math_lib.glsl (+3, -2) (Diff)
/source/blender/draw/engines/eevee/eevee_depth_of_field.c (+67, -21) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+7, -4) (Diff)
/source/blender/draw/engines/eevee/eevee_shaders.c (+59, -20) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_filter_frag.glsl (+7, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_gather_frag.glsl (+11, -3) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_lib.glsl (+0, -8) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_scatter_frag.glsl (+10, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_scatter_vert.glsl (+8, -1) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_setup_frag.glsl (+3, -1) (Diff)
/source/blender/draw/intern/shaders/common_math_lib.glsl (+3, -2) (Diff)