Version: 2020.2
Light Modes
Light Mode: Mixed

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 Scene. If you’re using the Built-in Render Pipeline and you enable Realtime Global Illumination (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.
Light Modes
Light Mode: Mixed
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。