Taos API Reference
    Preparing search index...

    Class SsgiFeature

    Screen-space global illumination feature.

    Reads the GBuffer normal + depth and the persistent TAA history texture (i.e. the previous frame's resolved HDR) and produces a temporally- accumulated GI irradiance buffer, published on frame.ssgi. DeferredLightingFeature consumes it as the indirect-diffuse term.

    Must be registered AFTER any geometry feature (it needs frame.gbuffer) and BEFORE DeferredLightingFeature (which reads frame.ssgi). The deferredPreset ssgi option places it in the correct slot.

    SSGI bounces last frame's image, so the GI lags the scene by one frame and re-converges over a few frames after a sharp camera move or toggle.

    Implements

    Index

    Constructors

    Properties

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

    pass: SSGIPass | null = null

    Methods