/** * @author arya-s / https://github.com/arya-s * * This is a helper for visualising a given light's shadow map. * It works for shadow casting lights: THREE.DirectionalLight and THREE.SpotLight. * It renders out the shadow map and displays it on a HUD. * * Example usage: * 1) Include