I keep running into a weird problem with spot light's shadow camera. From all the examples it seems trivial, yet when I write the same thing, the shadow's camera is fixed at 0, 0, 0.
Even when I set the camera position myself at the end of animation loop, the camera helper shows it at the center of the scene and no shadow is drawn.
Is that a bug?
Here is my code: https://jsfiddle.net/Eskel/stm4v8k7/2/ (the orange lines is the shadow camera helper)
light = new THREE.SpotLight();
light.position.set(1000, 1000, 1000);
light.target = scene;
light.castShadow = true;
scene.add(light);
Nothing fancy, I'm just adding a light, setting a position and expecting a shadow to be drawn. Using r77 release.