File: IESSpotLight.md | Updated: 11/15/2025
A IES version of SpotLight. Can only be used with WebGPURenderer.
Constructs a new IES spot light.
color | The light's color. Default is 0xffffff.
---|---
intensity | The light's strength/intensity measured in candela (cd). Default is 1.
distance | Maximum range of the light. 0 means no limit. Default is 0.
angle | Maximum angle of light dispersion from its direction whose upper bound is Math.PI/2. Default is Math.PI/3.
penumbra | Percent of the spotlight cone that is attenuated due to penumbra. Value range is [0,1]. Default is 0.
decay | The amount the light dims along the distance of the light. Default is 2.
TODO
Default is null.