Taos API Reference
    Preparing search index...

    Class PointSpotLightFeature

    Point + spot light shadows (cube VSM + 2D VSM + projection-texture array) plus the deferred-style additive lighting pass that consumes them. Reads frame.gbuffer, accumulates onto frame.hdr and writes back.

    Implements

    Index

    Constructors

    Properties

    name: string = PointSpotLightFeature.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.

    shadowPass: PointSpotShadowPass | null = null
    lightPass: PointSpotLightPass | null = null
    autoCulled: AutoCulledMode

    Which culled strategy 'auto' escalates to. Settable at runtime.

    Accessors

    Methods

    • Toggle the LTC rect-area-light path live (no pass rebuild). Only effective when the feature was constructed with areaLightLtc: true; otherwise a no-op. When off, rect area lights fall back to representative-point shading.

      Parameters

      • enabled: boolean

      Returns void