Taos API Reference
    Preparing search index...

    Class StarsFeature

    Procedural starfield as a render feature wrapping StarsPass. Reads frame.hdr + frame.depth, adds stars on sky pixels (depth == 1), and writes the result back into frame.hdr. Register AFTER the sky / lighting features (so the HDR + depth exist) and BEFORE bloom + tonemap (so bright stars bloom and get tonemapped with the rest of the scene).

    Implements

    Index

    Constructors

    Properties

    name: string = StarsFeature.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: StarsPass | null = null
    catalogMode: boolean = false

    Live toggle: real catalog stars (true) vs the procedural field (false). Only takes effect once the (async) catalog bake set via catalog is ready.

    Methods