Added option to render ortho and perspective shadow map.