CascadeShadowDepthCamera
Source: CascadeShadowDepthCamera.ts:14
Depth camera of a cascade shadow map: one orthographic camera, a frustum per cascade. The planet collects the nodes for all the cascades in one traversal, and every cascade is drawn into its own layer of the cascade shadow map depth texture array.
Constructor
new CascadeShadowDepthCamera(
cascadeShadowMap,
): CascadeShadowDepthCameraInstance Methods
prepareFrame()
Fits the cascades to the main camera and the light, before the planets collect the nodes.