Scene with shadows debug interface
Code_Oz
in ThreeJS, you can check code and options
here