realtimeGI
Indicates whether Enlighten Realtime Global Illumination is enabled. This property is obsolete and has no effect.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool realtimeGI { get; set; }
Remarks
Unity no longer supports Enlighten Realtime Global Illumination. This property has no effect, and Unity keeps it only so that existing data stays compatible. In the Editor, it always returns .
falseTo control what the Baked Global Illumination system includes in the bake, use LightingSettings.bakeEnvironmentLighting and LightingSettings.bakeRealtimeEmission instead.
Additional Resources: Lighting Settings Asset, LightingSettings.bakeEnvironmentLighting, LightingSettings.bakeRealtimeEmission.