I have a model in my scene.
Now I need to add a SpotLight from the top of the model.
I set the position of both.
But SpotLIght doesn’t light!
I add a helper for SpotLight to figure out what’s happening.
Positions are right. But I don’t understand what is the problem.
This is how I added my light:
const light3 = new THREE.SpotLight(0xFFFFFF, 2.00, 0, 0.400);
light3.position.set(0, 1000, 0);
light3.name = "top_light";
light3.castShadow = true;
this.scene.add(light3)
const spotLightHelper = new THREE.SpotLightHelper(light3);
this.scene.add(spotLightHelper);
Note: the brightness of the car is because of envMap, not lights.
Thanks for your help.