I started to learn the Three.JS a couple of days ago, and i have made a little stuff from many examples and tutorials. i made sliders to change camera positions and the cube. i even made a checkbox to set the lookAt points to the cube and a button to change color of the cube. i got stuck at the lights when i tried to add one to the scene and i setted it up by an example from this site: https://threejs.org/examples/#webgl_lights_spotlight and its source code: https://github.com/mrdoob/three.js/blob/e0a31ea77c0242ae29ef6e951fa588216e1d247f/examples/webgl_lights_spotlight.html
I prepared the meshes to recevice the shadows, but i can’t ses the shadows of objetcts and the circle of light. What is ‘shadow.camera’ exactly and what is it doing?
My exercise code: https://jsfiddle.net/cqj3hzao/
Thank You for your help.