Taos API Reference
    Preparing search index...

    Class CompositeFeature

    Final HDR → SDR composite that also draws stars and depth/height fog, sampling the auto-exposure storage buffer for tonemapping. Replaces TonemapFeature in pipelines that have an AutoExposureFeature (the composite reads the exposure buffer; tonemap does not).

    Reads frame.hdr, frame.ao, frame.gbuffer.depth, frame.lightingCameraBuffer, frame.lightingLightBuffer, frame.exposureBuffer; writes the backbuffer. When no AOFeature is registered, falls back to a 1×1 white AO texture so the pass binding is valid.

    Implements

    Index

    Constructors

    Properties

    name: string = CompositeFeature.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: CompositePass | null = null
    aces: boolean
    debugAO: boolean
    hdrCanvas: boolean | null
    depthFogEnabled: boolean
    blackLowerHemisphere: boolean
    underwater: boolean
    underwaterTime: number
    starsEnabled: boolean

    Methods