This page has been translated automatically.
Video Tutorials
Interface
Essentials
Advanced
How To
UnigineEditor
Interface Overview
Assets Workflow
Working With Projects
Adjusting Node Parameters
Setting Up Materials
Setting Up Properties
Lighting
Landscape Tool
Sandworm
Using Editor Tools for Specific Tasks
Extending Editor Functionality
Built-in Node Types
Nodes
Objects
Effects
Decals
Light Sources
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
Programming
Fundamentals
Setting Up Development Environment
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine 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
IG Plugin
CIGIConnector Plugin
Rendering-Related Classes
Content Creation
Content Optimization
Materials
Art Samples
Tutorials

DOF

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:
  • Very Low — very low quality
  • Low — low quality
  • Medium — medium quality
  • High — high quality
  • Ultra — ultra quality
  • Extreme — extreme quality
  • Custom — adjust the feature's quality manually
Notice
Can be controlled by render_dof_quality console command.
Notice
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.

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.

Customizable Settings#

The following settings are available when the Custom preset is selected.

DOF custom settings

DOF Settings
Quality The quality of the DoF effect:
  • Low — low quality
  • Medium — medium quality
  • High — high quality
  • Ultra — ultra quality
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.

Last update: 2021-04-29
Build: ()