Blender V4.3
eevee_depth_of_field.hh File Reference

Go to the source code of this file.

Classes

struct  blender::eevee::DepthOfFieldBuffer
 
class  blender::eevee::DepthOfField
 

Namespaces

namespace  blender
 
namespace  blender::eevee
 

Detailed Description

Depth of field post process effect.

There are 2 methods to achieve this effect.

  • The first uses projection matrix offsetting and sample accumulation to give reference quality depth of field. But this needs many samples to hide the under-sampling.
  • The second one is a post-processing based one. It follows the implementation described in the presentation "Life of a Bokeh - SIGGRAPH 2018" from Guillaume Abadie. There are some difference with our actual implementation that prioritize quality.

Definition in file eevee_depth_of_field.hh.