...

/

Working with Basic Lights: PointLight

Working with Basic Lights: PointLight

Learn about THREE.PointLight in Three.js and how to customize its properties.

The THREE.PointLight

THREE.PointLight is a light source that shines light in all directions emanating from a single point. A good example of a point light is a signal flare fired into the night sky or a campfire. Just as with all the lights, we have a specific example we can use to play around with THREE.PointLight:

Press + to interact
PointLight with the helper enabled
PointLight with the helper enabled

Example: PointLight

If we look at point-light.js in the playground below, we can find an example where a THREE.PointLight is being used in the same scene we’re also using for the other lights.

Let’s execute the following playground by clicking the “Run” button to ...