Version: Unity 6 Preview (6000.0)
Language : English
Set the Lighting Mode of a scene
Configuring lights with the Light Explorer

Adjust Mixed lights at runtime

In the Baked Indirect Lighting Mode, you can subtly change the properties of a Mixed Light at runtime. Changes affect the real-time direct lighting that the Mixed Light contributes to the SceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
, without affecting the baked indirect lighting that the Mixed Light contributes to the Scene. This allows you to combine the benefits of baked indirect lighting with some of the dynamic capabilities of a Realtime Light. This works especially well in Baked Indirect Lighting Mode, due to the lack of precomputed shadows.

You must be careful with runtime changes to Light properties, and only make small changes that don’t cause unrealistic combinations of real-time direct and baked indirect lighting. For example, if you bake a red Mixed Light into a lightmapA pre-rendered texture that contains the effects of light sources on static objects in the scene. Lightmaps are overlaid on top of scene geometry to create the effect of lighting. More info
See in Glossary
and then change its color to green at runtime, the direct lighting is green but the indirect lighting baked into the lightmap remains red. The same applies to moving a Mixed Light at runtime: direct lighting follows the Light’s new position, but indirect lighting remains at the position at which the Light was baked.

This video shows an example of how to slightly modify a Mixed Light without causing noticeable inconsistencies in the indirect lighting: https://youtu.be/XN6ya31gm1I

Set the Lighting Mode of a scene
Configuring lights with the Light Explorer