Skip to content Skip to sidebar Skip to footer

I'm Doing Something Wrong With SpotLights And Shadows In Three.js

I have a really simple scene which has one .dae mesh in it, and a 7000*7000 plane underneath the mesh. I'd like it to be lit by a high SpotLight, so the mesh throws a shadow on the

Solution 1:

I have created a jsfiddle showing a plane with Lambert material and a rotating cube that is casting a shadow, maybe you can see what is different to yours.

edit

Try playing about with some of the params, I can stop the clipping on my demo with:

spotLight.shadowCameraFov = 70;

update demo and moving demo


Post a Comment for "I'm Doing Something Wrong With SpotLights And Shadows In Three.js"