This page has been translated automatically.
视频教程
界面
要领
高级
实用建议
基础
专业(SIM)
UnigineEditor
界面概述
资源工作流程
Version Control
设置和首选项
项目开发
调整节点参数
Setting Up Materials
设置属性
照明
Sandworm
使用编辑器工具执行特定任务
如何擴展編輯器功能
嵌入式节点类型
Nodes
Objects
Effects
Decals
光源
Geodetics
World Nodes
Sound Objects
Pathfinding Objects
Players
编程
基本原理
搭建开发环境
使用范例
C++
C#
UnigineScript
统一的Unigine着色器语言 UUSL (Unified UNIGINE Shader Language)
Plugins
File Formats
材质和着色器
Rebuilding the Engine Tools
GUI
双精度坐标
应用程序接口
Animations-Related Classes
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
VR-Related Classes
创建内容
内容优化
材质
Material Nodes Library
Miscellaneous
Input
Math
Matrix
Textures
Art Samples
Tutorials

交错光渲染

Rendering lights is one of the most consuming parts of the pipeline: the more light sources are used in your scene the heavier is their impact on performance. The situation gets worse if we have to render the scene in 4K+, as the number of UHD-capable devices grows, and higher rendering resolutions are becoming embraced more broadly.渲染灯是管道中最消耗的部分之一:场景中使用的光源越多,它们对性能的影响就越大。如果必须使用4K +渲染场景,情况会变得更糟,因为支持UHD的设备数量不断增加,并且更高的渲染分辨率也越来越广泛地被采用。

Interleaved Rendering mode for lights may be helpful in this case. In this mode lighting is rendered during the deferred pass either interlaced (i.e. skipping each second row of pixels - 1/2 of all pixels), or in half resolution (1/4 of all pixels) with subsequent reconstruction of neighboring pixels using the data from previous frames, making it possible to reduce rendering load. The effect is cumulative and works best with TAA enabled. We also recommend to use this mode when Supersampling is enabled to reduce rendering load, while keeping the image quality high.在这种情况下,灯光的交错渲染模式可能会有所帮助。在此模式下,在延迟的传递过程中以隔行扫描(即跳过每第二个像素行-所有像素的1/2)或以一半分辨率(所有像素的1/4)渲染照明,随后使用数据重建相邻像素与之前的帧相比,可以减少渲染负载。该效果是累积性的,在启用 TAA 时效果最佳。我们还建议在启用 Supersampling 时使用此模式,以减少渲染负载,同时保持较高的图像质量。

This mode is recommended for relatively static scenes which contain a lot of light sources and do not have a lot of reflective surfaces (as reflections represent a weak spot of the interleaved reconstruction). Please note, that enabling interleaved lights rendering for a scene with a small number of light sources (e.g. a flight simulator scene with a single world light) may cause a performance drop.建议将这种模式用于相对静态的场景,该场景包含许多光源并且没有很多反射表面(因为反射表示交错重建的弱点)。请注意,为具有少量光源的场景(例如,具有单个世界光源的飞行模拟器场景)启用交错的灯光渲染可能会导致性能下降。

注意
Interleaved Rendering mode requires a high framerate (60+ FPS), otherwise anti-aliasing quality reduces and ghosting effect becomes more pronounced.交错渲染模式需要较高的帧速率(60+ FPS),否则抗锯齿质量会降低并且重影效果会更加明显。

As this effect is temporal, like TAA, it also requires a warm-up time since the beginning of the first frame and also suffers from the ghosting effect. Most of the artefacts appear when objects and the background are moving in opposite directions (e.g. rotating around the object in focus).由于这种效果是短暂的,因此像TAA一样,自从第一帧开始起还需要预热时间,并且还会出现重影效果。当物体和背景朝相反方向移动时(例如围绕聚焦的物体旋转),大多数伪像就会出现。

The Color Clamping can be used to reduce ghosting effect: higher values increase clamping intensity but may cause flickering on rippled reflective surfaces (as interleaved reconstruction is not so good at object's edges). When disabled, shadows and reflections have a lag as they are several frames behind. Color Clamping可用于减少重影效果:较高值可提高夹持强度,但可能导致波纹反射表面闪烁(因为交错重建在对象边缘处效果不佳)。禁用此选项后,阴影和反射会滞后,因为它们落后几帧。

You can enable interleaved rendering mode for lights and adjust its parameters via the Lights section of the Settings window (Window -> Settings -> Render -> Lights).可以为灯光启用交错渲染模式,并通过SettingsLights窗口(Settings window (Window -> Settings -> Render -> Lights).

最新更新: 2024-12-13
Build: ()