UnigineEditor
Interface Overview
Assets Workflow
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Landscape Tool
Using Editor Tools for Specific Tasks
FAQ
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine and Tools
GUI
Double Precision Coordinates
API
Containers
Common Functionality
Controls-Related Classes
Engine-Related Classes
Filesystem Functionality
GUI-Related Classes
Math Functionality
Node-Related Classes
Objects-Related Classes
Networking Functionality
Pathfinding-Related Classes
Physics-Related Classes
Plugins-Related Classes
CIGI Client Plugin
Rendering-Related Classes

DOF

This section describes settings used to control the depth of field (DOF) effect.

DOF Settings

To enable the depth of field effect, use the render_dof console command.

Enabled Toggles the DOF effect on and off.
Quality The quality of the depth of field effect:
  • Low — low quality
  • Medium — medium quality
  • High — high quality
  • Ultra — ultra quality
Notice
Can be controlled by render_dof_quality console command.
Resolution The resolution of the depth of field effect:
  • Quad — 1/4 resolution
  • Half — 1/2 resolution
  • Full — full resolution
Notice
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.
Notice
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.
Notice
Can be controlled by render_dof_focus_improvement console command.

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.

Near#

Distance The distance between the camera and the nearest element that is considered to be acceptably sharp.
Near Distance = 10
Near Distance = 10
Near Distance = 1.5
Near Distance = 1.5
The black zone on the DoF mask means in-focus zone.
Focal offset The offset from the focal point to the nearest blurred zone.

Far#

Distance The distance between the camera and the furthest element that is considered to be acceptably sharp.
Far Distance = 10
Far Distance = 10
Far Distance = 1.5
Far Distance = 1.5
The black zone on the DoF mask means in-focus zone.
Focal offset The offset from the focal point to the furthest blurred zone.

Bokeh#

Shape The shape of the Bokeh:
  • Ring
  • Circle
Notice
Can be controlled by the render_dof_bokeh_mode console command.

Last update: 2019-04-30