Depth of Field (Legacy)
2D Modifier - Depth of field effect
Use the composition depth buffer in order to create a depth of field. This modifier uses the focus distance of the Camera
You can vizualize the depth of field with colors by checking this option:
Go check Legacy Blur part of the documentation for further details about the parameters.
Variables:
- Visualize Layers: Colorize the depth to visualize each “layer” of the depth of field (legacy)
- Blur Layer Visualization: Give a precise view of the Blur region area
- Focus Parameters: Focus parameters of the depth of field (legacy)
- Near Blur: Near blur transition
- Far Blur: Far blur transition
Python
Oil.createObject("DepthOfFieldTextureModifier")