Blender Git Loki
Git Commits -> Revision 2a7d9d4
Revision 2a7d9d4 by Clément Foucault (eevee-rewrite, temp-eevee-gpencil-rewrite, viewport-compositor) April 8, 2021, 14:17 (GMT) |
EEVEE: Depth Of Field: Add back post process depth of field. Pretty much identical to the previous implementation. With the exception of a temporary noise function and some simplification of the CoC computation. This also fixes issues with the Ortho depth of field. Most of the files were modified to comply to new shader codestyle. This also adds partial support of panoramic cameras (bokeh and anamorphic is still buggy). |
Commit Details:
Full Hash: 2a7d9d451559b50acf2d5c061b6fd1a9c42d04d6
Parent Commit: 89f2d34
Lines Changed: +3281, -280
17 Added Paths:
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_accumulator_lib.glsl (+682, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_bokeh_lut_frag.glsl (+63, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_filter_frag.glsl (+93, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_gather_frag.glsl (+110, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_gather_holefill_frag.glsl (+82, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_lib.glsl (+328, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_reduce_copy_frag.glsl (+144, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_reduce_downsample_frag.glsl (+35, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_reduce_recursive_frag.glsl (+36, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_resolve_frag.glsl (+105, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_scatter_frag.glsl (+83, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_scatter_lib.glsl (+17, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_scatter_vert.glsl (+132, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_setup_frag.glsl (+73, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_tiles_dilate_frag.glsl (+117, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_tiles_flatten_frag.glsl (+60, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_random_lib.glsl (+17, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_bokeh_lut_frag.glsl (+63, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_filter_frag.glsl (+93, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_gather_frag.glsl (+110, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_gather_holefill_frag.glsl (+82, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_lib.glsl (+328, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_reduce_copy_frag.glsl (+144, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_reduce_downsample_frag.glsl (+35, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_reduce_recursive_frag.glsl (+36, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_resolve_frag.glsl (+105, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_scatter_frag.glsl (+83, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_scatter_lib.glsl (+17, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_scatter_vert.glsl (+132, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_setup_frag.glsl (+73, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_tiles_dilate_frag.glsl (+117, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_depth_of_field_tiles_flatten_frag.glsl (+60, -0) (View)
/source/blender/draw/engines/eevee/shaders/eevee_random_lib.glsl (+17, -0) (View)
8 Modified Paths:
/source/blender/draw/CMakeLists.txt (+17, -0) (Diff)
/source/blender/draw/engines/eevee/eevee_camera.hh (+13, -182) (Diff)
/source/blender/draw/engines/eevee/eevee_depth_of_field.hh (+743, -35) (Diff)
/source/blender/draw/engines/eevee/eevee_film.hh (+5, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_instance.hh (+4, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_shader.hh (+134, -6) (Diff)
/source/blender/draw/engines/eevee/eevee_shader_shared.hh (+29, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_view.hh (+159, -44) (Diff)
/source/blender/draw/engines/eevee/eevee_camera.hh (+13, -182) (Diff)
/source/blender/draw/engines/eevee/eevee_depth_of_field.hh (+743, -35) (Diff)
/source/blender/draw/engines/eevee/eevee_film.hh (+5, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_instance.hh (+4, -5) (Diff)
/source/blender/draw/engines/eevee/eevee_shader.hh (+134, -6) (Diff)
/source/blender/draw/engines/eevee/eevee_shader_shared.hh (+29, -3) (Diff)
/source/blender/draw/engines/eevee/eevee_view.hh (+159, -44) (Diff)