I am trying to illuminate only part of a scene with a single PointLight.
I’ve set the distance small above zero (which from the docs set infinity range), but still the light illuminates everything in the scene, even things out of range. Probably missing something obvious here, but what?
This is the light and the helper to show the light range:
const pointLightColor = 0xFFBF4D const pointLightIntensity = 0.3 const pointLightDistance = 0.5 const pointLightDecay = 2.0 const pointLight = new T.PointLight( pointLightColor, pointLightIntensity, pointLightDistance, pointLightDecay) pointLight.position.set(0, 7, 13) scene.add(new T.PointLightHelper(pointLight, pointLightDistance)); scene.add(pointLight)