Skip to content

PointLight

new PointLight(color?, intensity?, distance?, decay?)

THREE equivalent: THREE.PointLight

Omnidirectional point light with distance-based attenuation, computed per vertex on the CPU.

Differs from THREE.js

No shadow support.

Name Type Description
color Color Light color. Default 0xffffff.
intensity number Brightness multiplier. Default 1.
distance number Attenuation radius. 0 means no limit. Default 0.
decay number Attenuation exponent. Default 2 (physically-based falloff).