No shadows with Spotlight

Hi, I’ve started working on an idea for a scene with a spotlight updated with the mouse, but I got stuck trying to make the shadows even appear. I’ve already tried changing a lot of settings of the renderer, material, objects themselves, spotlight, spotlight’s shadows, but none seem to actually show them…

Here’s the link to a pen with the basic setup I’ve been working on: https://codepen.io/ia_a/pen/wBzaOyG, if anyone could check it out and point me in the right direction. Any help is greatly appreciated! Thanks :stuck_out_tongue:

spotlight.castShadows = true;  // not OK
spotlight.castShadow = true;   // OK

Must be singular, not plural.

2 Likes

I can’t believe that’s what I missed… It works now, thanks a lot!!

3 Likes