In this fiddle, when i change the following parameters i do not see any visible change(s)
directionalLight.shadowCameraVisible = true;
directionalLight.shadowCameraLeft = 1000;
directionalLight.shadowCameraRight = 1000;
directionalLight.shadowCameraBottom = 1000;
directionalLight.shadowCameraTop = 1000;
Are there any hidden setting(s)? What is functionality of these parameters.
Documentation does not help either, Any suggestions?
Those parameters affect only orthographic camera. So you need to set your camera to
THREE.OrthographicCamera(). Here is some tutorial on how to use shadows: Casting Shadows.Generally, you don’t see any visible changes because you only have one cube on your scene, so there is nothing that you are casting your shadow on. Add some more geometries to your scene and see how you can settle things based on this tutorial.
Hope that helps!