Skip to content

Nodes · Filter

Defocus

Filterv1core

Overview

Depth-driven thin-lens defocus with a real aperture: disc or bladed, rotatable, anamorphic by aspect, and catadioptric for a mirror lens's ring bokeh.

How to

  1. Wire a depth pass, or set the focal plane by hand.
  2. Choose bokeh and, for bladed, the blade count and rotation.
  3. Use aspect for anamorphic ovals; catadioptric for the doughnut.

Inputs

InputWhat it takes
inthe image this node works on
masklimits the effect to this matte — the engine's universal mask slot, applied for every node that declares it

Outputs

OutputType
outImage

Parameters

ParameterTypeDefaultWhat it does
sizeFloat10Not documented yet.
focusFloat3Not documented yet.
depth_layerText"depth".into(Not documented yet.
mathChoicethin lensNot documented yet.
bokehChoicediscNot documented yet.
bladesInt6Not documented yet.
blade_rotationFloat0Not documented yet.
aspectFloat1Not documented yet.
catadioptricFloat0Not documented yet.