PointLight Question

I have a project in version 135. It includes a PointLight positioned in the center of the scene, serving as a light source for multiple objects located at varying distances in all directions. In version 135, the point light functioned similar to a DirectionalLight but emitted light from a single point in all directions with uniform intensity.

In recent versions of three.js, the PointLight operates like a light bulb (as described in the three.js documentation), with its intensity diminishes over distance. I am looking for a way to create a point light that maintains the same intensity regardless of distance and emits light uniformly in all directions, like its behavior in version 135.

Try setting the point light’s decay to 0. You may also need to increase its intensity by a factor of 3 or more.

2 Likes

@PavelBoytchev absolutely amazing. Thank you!

1 Like