DynamicGI

class in UnityEngine

Switch to Manual

Description

用于控制动态全局光照。

Static Variables

indirectScaleAllows for scaling the contribution coming from realtime & baked lightmaps.Note: this value can be set in the Lighting Window UI and it is serialized, that is not the case for other properties in this class.
isConverged预计算的实时全局光照输出是否融合?
materialUpdateTimeSliceThe number of milliseconds that can be spent on material updates.
synchronousMode启用时,每个帧中均显示新的动态全局光照输出。
updateThreshold阈值,用于限制实时 GI 的更新。测量单位是“强度变化百分比”。

Static Functions

SetEmissive可实现快速为给定渲染器设置发光颜色,无需渲染整个系统的发光输入。
SetEnvironmentData允许在不更改天空盒材质的情况下重写实时 GI 的远处环境光照。
UpdateEnvironment安排更新此环境纹理。
UpdateMaterials安排更新包含渲染器或地形的系统的反照率和发光纹理。