v.shadowCameraNear,v.shadowCameraFar);elseif(vinstanceofTHREE.DirectionalLight)v.shadowCamera=newTHREE.OrthographicCamera(v.shadowCameraLeft,v.shadowCameraRight,v.shadowCameraTop,v.shadowCameraBottom,v.shadowCameraNear,v.shadowCameraFar);else{console.error("Unsupported light type for shadow");continue}e.add(v.shadowCamera);!0===e.autoUpdate&&e.updateMatrixWorld()}v.shadowCameraVisible&&!v.cameraHelper&&(v.cameraHelper=newTHREE.CameraHelper(v.shadowCamera),v.shadowCamera.add(v.cameraHelper));
v.shadowCameraNear,v.shadowCameraFar);elseif(vinstanceofTHREE.DirectionalLight)v.shadowCamera=newTHREE.OrthographicCamera(v.shadowCameraLeft,v.shadowCameraRight,v.shadowCameraTop,v.shadowCameraBottom,v.shadowCameraNear,v.shadowCameraFar);else{console.error("Unsupported light type for shadow");continue}e.add(v.shadowCamera);!0===e.autoUpdate&&e.updateMatrixWorld()}v.shadowCameraVisible&&!v.cameraHelper&&(v.cameraHelper=newTHREE.CameraHelper(v.shadowCamera),e.add(v.cameraHelper));if(v.isVirtual&&