Hilo3d API - v2.0.0-alpha.3
    Preparing search index...

    Interface DirectionalLightShadowOptions

    Directional-light shadow controls.

    Values greater than one for cascadeCount enable camera-relative cascaded shadow maps. Manual cameraInfo bounds remain available for the single-cascade compatibility path.

    interface DirectionalLightShadowOptions {
        cameraInfo?: ShadowCameraParameters;
        cascadeBlend?: number;
        cascadeCount?: number;
        cascadeMaxDistance?: number;
        cascadeSplitLambda?: number;
        debug?: boolean;
        height?: number;
        maxBias?: number;
        minBias?: number;
        shadowStrength?: number;
        stabilizeCascades?: boolean;
        width?: number;
    }

    Hierarchy (View Summary)

    Index
    cascadeBlend?: number

    Fraction of each cascade interval blended into the following cascade. Defaults to 0.1.

    cascadeCount?: number

    Number of camera-frustum cascades. Defaults to 1; the supported range is 1–4.

    cascadeMaxDistance?: number

    Maximum view-space shadow distance. Defaults to the active camera far plane.

    cascadeSplitLambda?: number

    Blend between uniform (0) and logarithmic (1) cascade split placement. Defaults to 0.5.

    debug?: boolean

    Display the shadow camera helper; it does not draw the shadow texture over the scene.

    height?: number
    maxBias?: number
    minBias?: number
    shadowStrength?: number

    Art-directed contrast applied to filtered directional-shadow occlusion. 1 preserves the physically sampled visibility, values above 1 deepen partial PCF coverage, and 0 disables the visible shadow contribution. Defaults to 1; the supported range is 0–4.

    stabilizeCascades?: boolean

    Snap automatic cascade projections to shadow texels. Defaults to true.

    width?: number