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版本。

Shadows

This section contains settings of scene shadows.此部分包含场景阴影的设置。

Shadows Settings阴影设置
Enabled Toggles rendering of shadows on and off.切换阴影的渲染。
Filter Mode Global filtering mode to be used for shadows from all light sources by default. This mode determines quality of soft shadows. Higher quality produces smoother shadows. Available values:
  • Disabled — filtering for shadows is disabled, the stair-step effect is clearly seen at the edges of shadows.Disabled — filtering for shadows is disabled, the stair-step effect is clearly seen at the edges of shadows.
  • Low — low qualityLow — low quality
  • Medium — medium qualityMedium — medium quality
  • High — high qualityHigh — high quality
  • Ultra — ultra qualityUltra — ultra quality

注意
You can set filtering mode or disable filtering for each light source individually.You can set filtering mode or disable filtering for each light source individually.
Disabled — filtering for shadows is disabled, the stair-step effect is clearly seen at the edges of shadows.Low — low qualityMedium — medium qualityHigh — high qualityUltra — ultra qualityYou can set filtering mode or disable filtering for each light source individually.
默认情况下,全局过滤模式用于所有光源的阴影。此模式确定柔和阴影的质量。更高的质量产生更平滑的阴影。可用值:
  • Disabled — filtering for shadows is disabled, the stair-step effect is clearly seen at the edges of shadows. Disabled—禁用阴影过滤,在阴影的边缘清晰可见阶梯效果。
  • Low — low quality Low- 低质量
  • Medium — medium quality Medium- 中等质量
  • High — high quality High- 高质量
  • Ultra — ultra quality Ultra—超品质

注意
You can set filtering mode or disable filtering for each light source individually.您可以设置过滤模式或分别禁用每个光源的过滤。
Filter Noise Toggles the use of noise for shadow filtering on and off.

切换使用噪声来打开和关闭阴影过滤。

Penumbra Mode Global quality mode to be used for rendering penumbra from all light sources by default. This mode enables simulation of real-world shadows by keeping sharp contact shadows closer to the base and softening the farther the shadow stretches away. The higher the value the softer the shadows are. Available values:
  • Disabled — penumbra rendering is disabled, shadow edges are crisp and sharp (no shadow softness at all).Disabled — penumbra rendering is disabled, shadow edges are crisp and sharp (no shadow softness at all).
  • Low — low qualityLow — low quality
  • Medium — medium qualityMedium — medium quality
  • High — high qualityHigh — high quality
  • Ultra — ultra qualityUltra — ultra quality

注意
You can set penumbra quality mode or disable penumbra rendering for each light source individually.You can set penumbra quality mode or disable penumbra rendering for each light source individually.
Disabled — penumbra rendering is disabled, shadow edges are crisp and sharp (no shadow softness at all).Low — low qualityMedium — medium qualityHigh — high qualityUltra — ultra qualityYou can set penumbra quality mode or disable penumbra rendering for each light source individually.
默认情况下,用于从所有光源渲染半影的全局质量模式。通过使尖锐的接触阴影更靠近底部并柔化阴影延伸得越远,此模式可以模拟真实世界的阴影。值越高,阴影越柔和。可用值:
  • Disabled — penumbra rendering is disabled, shadow edges are crisp and sharp (no shadow softness at all). Disabled—禁用半影渲染,阴影边缘清晰明快(完全没有阴影柔和度)。
  • Low — low quality Low- 低质量
  • Medium — medium quality Medium- 中等质量
  • High — high quality High- 高质量
  • Ultra — ultra quality Ultra—超品质

注意
You can set penumbra quality mode or disable penumbra rendering for each light source individually.您可以为每个光源分别设置半影质量模式或禁用半影渲染
Penumbra Noise Toggles the use of noise for penumbra rendering on and off.

切换是否使用噪声进行半影渲染。

Translucent Depth A multiplier for the depth of light penetration into materials. Shows to what extent the translucent material is permeable to light.
Translucent Depth = 0.06Translucent Depth = 0.06
Translucent Depth = 0.4Translucent Depth = 0.4
Translucent Depth = 0.06Translucent Depth = 0.4
光线穿透材料的深度的乘数。 显示半透明材料在多大程度上可透光。
Translucent Depth = 0.06 Translucent Depth = 0.06
Translucent Depth = 0.4 Translucent Depth = 0.4
Lerp Shadow Cascades Toggles linear interpolation of shadow cascades on and off. When enabled, transitions between cascades become smoother. However, the option drops performance as two shadow maps are rendered in transition areas.
注意
When this option is disabled shadow cascades are not interpolated properly for Alpha Blend materials having the corresponding option enabled per-material.When this option is disabled shadow cascades are not interpolated properly for Alpha Blend materials having the corresponding option enabled per-material.
When this option is disabled shadow cascades are not interpolated properly for Alpha Blend materials having the corresponding option enabled per-material.
启用和禁用阴影级联的线性插值。启用后,级联之间的过渡将变得更加平滑。但是,该选项会降低性能,因为在过渡区域中渲染了两个阴影贴图。
注意
When this option is disabled shadow cascades are not interpolated properly for Alpha Blend materials having the corresponding option enabled per-material.禁用此选项时,对于按材质启用了相应选项的Alpha Blend材料,阴影级联无法正确插入。
Screen Space Shadows Toggles rendering of screen-space shadows on and off. When this option is enabled, penumbras from the light source are calculated using the ray tracing algorithm. The screen-space shadows should be used for small objects such as books, pens, etc. The option is available for all light sources and calculates shadows at any visibility distance.切换打开和关闭屏幕空间阴影的呈现。启用此选项后,将使用光线跟踪算法来计算来自光源的半影。屏幕空间阴影应用于小物体,例如书本,钢笔等。该选项适用于所有光源,并可以在任何可见距离处计算阴影。
Alpha Test Accounting Toggles alpha test for shadows on and off.切换alpha测试是否有阴影。
Distance Distance from the camera (in units), starting from which shadows from light sources are not rendered. Increasing the value produces blurred shadows.
Shadow distance
Distance = 1200 unitsDistance = 1200 units
Shadow distance
Distance = 80 unitsDistance = 80 units
注意
In case this value is greater than the visibility distance for objects (Visibility Distances → Objects) the shadows will still be rendered even though the objects themselves are not. Please, pay attention to setting these parameters properly to avoid wasting performance on rendering unnecessary shadows.In case this value is greater than the visibility distance for objects (Visibility Distances → Objects) the shadows will still be rendered even though the objects themselves are not. Please, pay attention to setting these parameters properly to avoid wasting performance on rendering unnecessary shadows.
Distance = 1200 unitsDistance = 80 unitsIn case this value is greater than the visibility distance for objects (Visibility Distances → Objects) the shadows will still be rendered even though the objects themselves are not. Please, pay attention to setting these parameters properly to avoid wasting performance on rendering unnecessary shadows.
距相机的距离(以单位为单位),从该距离开始不渲染光源的阴影。 增加值会产生模糊的阴影。
Shadow distance
Distance = 1200 units Distance = 1200单位
Shadow distance
Distance = 80 units Distance = 80个单位
注意
In case this value is greater than the visibility distance for objects (Visibility Distances → Objects) the shadows will still be rendered even though the objects themselves are not. Please, pay attention to setting these parameters properly to avoid wasting performance on rendering unnecessary shadows.如果此值大于对象的可见距离Visibility Distances → Objects),即使对象本身不是,阴影仍将被渲染。 请注意正确设置这些参数,以免渲染不必要的阴影浪费性能。
Distance Scale Global shadow distance scale multiplier. This option allows a developer to easily increase or decrease shadows rendering performance by changing the scale.
注意
In case this value is greater than the scale multiplier for objects (Visibility Distances → Distance Scale) the shadows will still be rendered even though the objects themselves are not. Please, make sure you set these parameters properly to avoid wasting performance on rendering unnecessary shadows.In case this value is greater than the scale multiplier for objects (Visibility Distances → Distance Scale) the shadows will still be rendered even though the objects themselves are not. Please, make sure you set these parameters properly to avoid wasting performance on rendering unnecessary shadows.
In case this value is greater than the scale multiplier for objects (Visibility Distances → Distance Scale) the shadows will still be rendered even though the objects themselves are not. Please, make sure you set these parameters properly to avoid wasting performance on rendering unnecessary shadows.
全局阴影距离比例乘数。此选项使开发人员可以通过更改比例轻松增加或减少阴影渲染性能。
注意
In case this value is greater than the scale multiplier for objects (Visibility Distances → Distance Scale) the shadows will still be rendered even though the objects themselves are not. Please, make sure you set these parameters properly to avoid wasting performance on rendering unnecessary shadows.如果此值大于对象的比例因子 Visibility Distances → Distance Scale),即使对象本身不是,阴影仍将被渲染。 请注意正确设置这些参数,以免渲染不必要的阴影浪费性能。
最新更新: 2021-08-24
Build: ()