Constructs a new bokeh material.
Enables or disables the bokeh highlight fill mode.
Determines whether this material will be applied to foreground colors.
ProtectedfarThe current camera far plane value.
ProtectednearThe current camera near plane value.
The blur scale.
Copies the settings of the given camera.
Updates the camera-related uniforms and macros.
A camera.
Updates the resolution uniform (XY = resolution, ZW = texelSize).
The width.
The height.
A bokeh disc blur material.
This material should be applied twice in a row, with
fillmode enabled for the second pass. Enabling theforegroundoption causes the shader to combine the near and far CoC values around foreground objects.