Taos API Reference
    Preparing search index...

    Interface CascadeData

    Per-cascade data produced by DirectionalLight.computeCascadeMatrices and consumed by the cascade shadow map render passes.

    interface CascadeData {
        lightViewProj: Mat4;
        splitFar: number;
        depthRange: number;
        texelWorldSize: number;
    }
    Index

    Properties

    lightViewProj: Mat4

    Combined light projection × view matrix used both to render and sample the cascade.

    splitFar: number

    Far plane (in view space) where this cascade ends.

    depthRange: number

    Light-space Z depth (maxZ − minZ after padding).

    texelWorldSize: number

    World-space size of one shadow-map texel (2 × radius / mapSize).