Version: 2023.2

LightmapBakeType

enumeration

切换到手册

描述

枚举,描述可以对光贡献的哪个部分进行烘焙。

变量

RealtimeReal-time lights cast run time light and shadows. They can change position, orientation, color, brightness, and many other properties at run time. No lighting gets baked into lightmaps or light probes..
Baked 烘焙光源在运行时期间无法以任何方式移动或更改。静态对象的所有光照都会烘焙到光照贴图中。动态对象的光照和阴影会烘焙到光照探针中。
MixedMixed lights allow a mix of real-time and baked lighting, based on the Mixed Lighting Mode used. These lights cannot move, but can change color and intensity at run time. Changes to color and intensity only affect direct lighting as indirect lighting gets baked. If using Subtractive mode, changes to color or intensity are not calculated at run time on static objects.