Taos API Reference
    Preparing search index...

    Class SdsmFeature

    Sample-Distribution Shadow Maps (SDSM) depth feedback, as a RenderFeature.

    Each frame it reduces the G-buffer depth to the visible min/max view-linear depth on the GPU and reads it back, so a ShadowFeature can fit its cascades to that slab instead of the full [near, shadowFar] range — far more texel density for the same shadow-map size.

    Wire it after the geometry feature (its reduction reads frame.gbuffer.depth) and pass depthBounds: () => sdsm.bounds to the ShadowFeature. The actual work lives in the reusable SdsmReducer so hand-wired graphs (crafty) can drive it directly.

    Implements

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    name: string = SdsmFeature.name

    Stable identifier used for lookup, signature hashing, and pass-name keying.

    enabled: boolean = true

    When false, the feature is skipped each frame. Toggling triggers a cached-graph invalidation.

    Accessors

    Methods