Blender Git Loki
Git Commits -> Revision 71e3002
Revision 71e3002 by Clément Foucault (master) January 25, 2019, 14:04 (GMT) |
Workbench: Depth Of Field: Optimisation - Compute samples positions on CPU. - Use 3x3 Box blur instead of 2x2. - Implement bokeh parameters. With this commit, dof performance is almost negligeable. The quality is a bit lower than before but can be improve. Also now big Circle of confusion are supported (up to 200px). Cost is ~1.25ms on AMD Vega with a 2560p viewport than full HD and pretty shallow depth of field. Coc downsampling and dilation is not used anymore for now (commented). |
Commit Details:
Full Hash: 71e30028240798d4ec34ee380191058b9313902b
Parent Commit: 3f6e14e
Lines Changed: +196, -42
5 Modified Paths:
/source/blender/draw/engines/workbench/shaders/workbench_effect_dof_frag.glsl (+77, -41) (Diff)
/source/blender/draw/engines/workbench/workbench_data.c (+1, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+1, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_effect_dof.c (+112, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+5, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_data.c (+1, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_deferred.c (+1, -0) (Diff)
/source/blender/draw/engines/workbench/workbench_effect_dof.c (+112, -1) (Diff)
/source/blender/draw/engines/workbench/workbench_private.h (+5, -0) (Diff)