Blender Git Loki
Git Commits -> Revision f9cfb22
Revision f9cfb22 by Clément Foucault (master) May 12, 2018, 21:28 (GMT) |
Eevee: Depth of field: Smooth out bokeh shape. Due to the scatter operation being done at half resolution, undersampling is visible at bokeh shape edges (because of the hard cut). This commit adds a smoothing function to minimize the problem. Also optimize the bokeh shape parametrization by precomputing a lot of constants. |
Commit Details:
Full Hash: f9cfb221d64a8f7b5bb89ee36d5ac594d6da34ff
Parent Commit: 74a08cf
Lines Changed: +51, -23
4 Modified Paths:
/source/blender/draw/engines/eevee/eevee_depth_of_field.c (+10, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+1, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_frag.glsl (+27, -12) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_vert.glsl (+13, -6) (Diff)
/source/blender/draw/engines/eevee/eevee_private.h (+1, -0) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_frag.glsl (+27, -12) (Diff)
/source/blender/draw/engines/eevee/shaders/effect_dof_vert.glsl (+13, -6) (Diff)