Taos API Reference
    Preparing search index...

    Class TerrainShadowFeature

    Appends terrain depth to every cascade of the directional shadow map produced by the engine's ShadowFeature. shadow:cascades is set during ShadowFeature's update() but the engine wipes frame.extras between update and addPasses, so it is cached in our own update(). Skips quietly when there is no shadow map, no cascades, or no terrain.

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    name: "TerrainShadowFeature" = 'TerrainShadowFeature'

    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.

    Methods