Path: blob/main/release-content/migration-guides/ambient_light_split.md
7223 views
------The AmbientLight used to be both a component and a resource. In 0.18, we've split this in two separate structs: AmbientLight and GlobalAmbientLight. The resource GlobalAmbientLight is the default ambient light for the entire world and automatically added by LightPlugin. Meanwhile, AmbientLight is a component that can be added to a Camera in order to override the default GlobalAmbientLight. When appropriate, rename AmbientLight to GlobalAmbientLight.
Before:
After: