Light Mode: Realtime
This page describes the behavior of a Light component when you set its Mode property to Realtime. These are also known as Realtime Lights.
Unity performs the lighting calculations for Realtime Lights at runtime, once per frame. You can change the properties of Realtime Lights at runtime to create effects such as flickering light bulbs, or a torch being carried through a dark room.
Realtime Lights are useful for lighting and casting shadows on characters or moveable geometry.
Realtime Light behavior
- Realtime Lights cast shadows up to the Shadow Distance.
- By default, Realtime Lights contribute only realtime direct lighting to a 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. If you’re using the Built-in Render Pipeline and you enable Realtime Global IlluminationA group of techniques that model both direct and indirect lighting to provide realistic lighting results. Unity has two global illumination systems that combine direct and indirect lighting.: Baked Global Illumination, and Realtime Global Illumination (deprecated).
See in Glossary (deprecated) in your Project, Realtime Lights also contribute realtime indirect lighting to your Scene.
Limitations of Realtime Lights
- Performing runtime calculations for Realtime Lights might be costly, especially in complex scenes or on low-end hardware.
- Because Realtime Lights only contribute direct lighting to the Scene by default, shadows appear completely black and there aren’t any indirect lighting effects, such as color bounce. This might cause unrealistic lighting in the Scene.