Taos API Reference
    Preparing search index...

    Class AOFeature

    Screen-space ambient occlusion. Switchable between SSAO, GTAO, and HBAO+ at runtime — all three pass instances are persistent and only the active one is wired into the graph (so toggling invalidates the cached graph).

    Writes frame.ao for downstream consumers (deferred lighting, composite).

    Implements

    Index

    Constructors

    Properties

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

    ssao: SSAOPass | null = null
    gtao: GTAOPass | null = null
    hbao: HBAOPlusPass | null = null
    radius: number
    bias: number
    strength: number

    Accessors

    Methods