Component reference
Lighting components

Directional Light component

5min
description the directional light component simulates light from a distant source , such as the sun it casts parallel light rays across the entire scene, affecting all objects uniformly in a specific direction ℹ️ component loaded by default in your scene the directional light component is automatically included in an entity in your hierarchy it simulates sunlight and ensures consistent directional lighting across your scene it requires no manual addition unless further adjustments are desired properties property description color sets the color of the light emitted intensity adjusts the brightness of the light cast shadows enables or disables shadow casting from this light shadow bias adjusts the shadow's position to reduce visual glitches caused by shadow rendering camera near sets the minimum distance from the camera at which shadows are rendered usage notes orientation matters rotate the light to change the direction from which it shines, affecting how shadows are cast shadow casting as the primary light capable of casting shadows, use cast shadows to enable this effect shadow adjustments use shadow bias to correct shadow rendering issues, such as shadow acne or peter panning important details global light affects all objects in the scene regardless of position shadows limitation as of v1 0 of the engine, only the directional light can cast shadows in the system performance shadow casting can impact performance; use shadows judiciously