Using precomputed lighting
Lightmapping: Getting started

LOD and Realtime GI

Read this page before you use Realtime Global Illumination (GI) on models which use the LOD (level of detail) feature.

When you use Unity’s LOD system in a Scene with baked lighting and Realtime GI, the system lights the most detailed model out of the LOD Group as if it is a regular static model. It uses lightmaps for direct and indirect lighting, and separate lightmaps for Realtime GI.

To allow the baking system to produce real-time or baked lightmaps, select the GameObject you want to affect, view its Renderer component in the Inspector window, and check that Lightmap Static is enabled.

For lower LODs in an LOD Group, you can only combine baked lightmaps with Realtime GI from Light Probes or Light Probe Proxy Volumes, which you must place around the LOD Group.

Whenever you use Realtime GI, the Renderer enables the Light Probes option for the lower LODs, even if you enable Lightmap Static.

An animation showing how real-time ambient color affects the Realtime GI used by lower LODs
An animation showing how real-time ambient color affects the Realtime GI used by lower LODs

Using precomputed lighting
Lightmapping: Getting started
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961