This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
UnigineEditor
界面概述
资产工作流程
项目开发
调整节点参数
Setting Up Materials
Setting Up Properties
照明
Landscape Tool
Sandworm
使用编辑器工具执行特定任务
Extending Editor Functionality
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Objects
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
Usage Examples
UnigineScript
C++
C#
UUSL (Unified UNIGINE Shader Language)
File Formats
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
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 Optimization
Materials
Art Samples
Tutorials
注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
注意! 这个版本的文档描述了一个不再受支持的旧SDK版本!请升级到最新的SDK版本。

DOF

This section describes settings used to control the depth of field (DOF) effect.本节介绍用于控制景深(DOF)效果的设置。

DOF Settings自由度设置

To enable the depth of field effect, use the render_dof console command.要启用景深效果,请使用render_dof控制台命令。

Enabled Toggles the DOF effect on and off.启用和禁用DOF效果。
Quality 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
注意
Can be controlled by render_dof_quality console command.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).
Can be controlled by render_dof_quality console command.The quality of the DoF effect:
  • Low — low quality
  • Medium — medium quality
  • High — high quality
  • Ultra — ultra quality
景深效果的质量:
  • Low —低质量
  • Medium-中等品质
  • High —高质量
  • Ultra-超高品质
注意
Can be controlled by render_dof_quality console command.可以由render_dof_quality控制台命令控制。
Resolution The resolution of the depth of field effect:
  • Quad — 1/4 resolutionQuad — 1/4 resolution
  • Half — 1/2 resolutionHalf — 1/2 resolution
  • Full — full resolutionFull — full resolution
注意
Can be controlled by render_dof_resolution console command.Can be controlled by render_dof_resolution console command.
Quad — 1/4 resolutionHalf — 1/2 resolutionFull — full resolutionCan be controlled by render_dof_resolution console command.
景深效果的分辨率:
  • Quad — 1/4 resolutionQuad-1/4分辨率
  • Half — 1/2 resolutionHalf-1/2分辨率
  • Full — full resolutionFull-全分辨率
注意
Can be controlled by render_dof_resolution console command.可以由render_dof_resolution控制台命令控制。
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.Can be controlled by render_dof_increased_accuracy console command.

Can be controlled by render_dof_increased_accuracy console command.
切换增加和降低DOF效果的准确性。启用参数可以提高聚焦计算的准确性。
注意
Can be controlled by render_dof_increased_accuracy console command.可以由render_dof_increased_accuracy控制台命令控制。

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.Can be controlled by render_dof_focus_improvement console command.

Can be controlled by render_dof_focus_improvement console command.
启用和禁用DOF效果的焦点改善。启用后,场景的聚焦部分和未聚焦部分之间的过渡会变得更加准确。
注意
Can be controlled by render_dof_focus_improvement console command.可以由render_dof_focus_improvement控制台命令控制。

Focal Distance The focal distance value.

焦距值。

Blur The value defining intensity of the DOF blur.

定义DOF模糊强度的值。

Chromatic Aberration The value defining intensity of the chromatic aberration effect.

定义色差效果强度的值。

NearNear#

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.
相机与最近的元素之间的距离被认为是足够清晰的。
Near Distance = 10
Near Distance = 10
Near Distance = 1.5
Near Distance = 1.5
DoF遮罩上的黑色区域表示对焦区域。
Focal offset The offset from the focal point to the nearest blurred zone.从焦点到最近的模糊区域的偏移量。

FarFar#

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.
相机和最远的元素之间的距离被认为是足够清晰的。
Far Distance = 10
Far Distance = 10
Far Distance = 1.5
Far Distance = 1.5
DoF遮罩上的黑色区域表示对焦区域。
Focal offset The offset from the focal point to the furthest blurred zone.从焦点到最远的模糊区域的偏移量。

BokehBokeh#

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

Can be controlled by the render_dof_bokeh_mode console command.
散景的形状:
  • Ring
  • Circle
注意
Can be controlled by the render_dof_bokeh_mode console command.可以由render_dof_bokeh_mode控制台命令控制。

最新更新: 2021-04-29
Build: ()