depthOfField property

DepthOfField depthOfField
final

Depth of field with bokeh. Off by default; set DepthOfField.enabled to turn it on. Requires a PerspectiveCamera (it reconstructs blur from the camera depth prepass, which it forces while enabled); skipped otherwise.

Implementation

final DepthOfField depthOfField = DepthOfField();