A directional light is a type of light source used in computer graphics, 3D rendering, and simulations to simulate the effect of light coming from a distant source with parallel rays. Unlike point lights or spotlights that emit light from a specific location or direction, a directional light emits light in parallel rays along a specific direction, much like sunlight.
A directional light works by emitting parallel light rays from an infinitely distant source. Its characteristics, such as uniformity, lack of attenuation with distance, and the ability to cast shadows, make it a versatile tool for simulating natural lighting conditions and creating realistic visual effects in computer graphics and 3D rendering.