shown in other instead.
This section describes settings used to control the depth of field (DOF) effect.
To enable the depth of field effect, use the render_dof console command.
|Enabled||Toggles the DOF effect on and off.|
|Preset||The quality preset of the depth of field effect:
Can be controlled by render_dof_quality console command.
Presets override user-defined custom settings. When any preset other than Custom is active, modification of the parameters via API has no effect. The parameter value set via the last API call shall be used only when the Custom preset is active. When checking the current parameter value via API you'll get the corresponding setting stored in the active preset (default or custom one).
|Focal Distance||The focal distance value.
|Blur||The value defining intensity of the DOF blur.
|Chromatic Aberration||The value defining intensity of the chromatic aberration effect.
|Distance||The distance between the camera and the furthest element that is considered to be acceptably sharp.
|Focal offset||The offset from the focal point to the furthest blurred zone.|
|Shape||The shape of the Bokeh:
Can be controlled by the render_dof_bokeh_mode console command.
The following settings are available when the Custom preset is selected.
|Quality||The quality of the DoF effect:
|Resolution||The resolution of the depth of field effect:
Can be controlled by render_dof_resolution console command.
|Increased Accuracy||Toggles increased accuracy for the DOF effect on and off. Enabling the parameter allows for increasing the accuracy of focusing calculation.
Can be controlled by render_dof_increased_accuracy console command.
|Focus Improvement||Toggles the focus improvement for the DOF effect on and off. When enabled, transitions between the focused and unfocused parts of the scene become more accurate.
Can be controlled by render_dof_focus_improvement console command.