All examples · Meshes and 3D

Point light

What this example shows

usePointLight is a bulb: it has a place in the world and falls off with distance (range), radiating in every direction, unlike the parallel rays of useLight, which have no place.

Here it sweeps past a row of cubes, brightening each one as it passes close and dimming it as it moves away.

Starting