Depth of Field

Depth of field is done as a post-process effect in Eevee. The depth of field effect can be controlled in the camera settings.

Nota

In the 3D Viewport, depth of field only works while in Camera View.

Nota

Because of performance considerations, the viewport can exhibit color artifacts when using large bokeh sizes. These artifacts are not present in the final render.

Reference

Panel:Render ‣ Depth of Field
Max Size
Max size of the bokeh shape for the depth of field (lower is faster).