Depth Of Field
Import
import { EffectComposer, DepthOfField } from '@react-three/postprocessing'
Description
Depth Of Field can add an aesthetic quality by having part of the scene out of focus.
This example also demonstrates instancedMesh
which is useful if you have to render a large number of objects with the same geometry and materials but with different world transformations.
Working Example
Useful Links
Depth Of Field | react-postprocessing |