📄 threejs/Core/Lights/ProjectorLight

File: ProjectorLight.md | Updated: 11/15/2025


title: ProjectorLight category: Core layout: docs

ProjectorLight

A projector light version of SpotLight. Can only be used with WebGPURenderer.

Constructor

new ProjectorLight( color : number | Color | string, intensity : number, distance : number, angle : number, penumbra : number, decay : number )

Constructs a new projector 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.

Properties

.aspect : number

Aspect ratio of the light. Set to null to use the texture aspect ratio.

Default is null.

Source

src/lights/webgpu/ProjectorLight.js