Taos API Reference
    Preparing search index...

    Class AtmosphereLutsPass

    Bakes the atmosphere transmittance + multi-scattering LUTs. Both are persistent textures stored in the graph's cache; this pass only adds actual bake sub-passes the first time it sees the graph (and again any time markDirty is called — e.g., when atmosphere parameters change). On idle frames the LUTs are merely imported as handles.

    Drive from AtmosphereLutsFeature, which surfaces the resulting texture views through frame.extras so downstream consumers (atmosphere pass, HQ cloud pass) can pick them up.

    Hierarchy (View Summary)

    • Pass<undefined, AtmosphereLutsOutputs>
      • AtmosphereLutsPass
    Index

    Properties

    name: "AtmosphereLutsPass" = 'AtmosphereLutsPass'

    Human-readable identifier used in graph node labels and error messages.

    Methods

    • Force a re-bake on the next frame. Use after the canvas resizes or any other change that would invalidate the cached LUTs. (Resize doesn't invalidate them today since the LUTs are screen-independent, but call this defensively when atmosphere params come from a UI slider.)

      Returns void

    • Insert the pass into graph for one frame. Implementations call graph.addPass(name, type, b => { ... }) exactly once and use the supplied PassBuilder to declare reads, writes, transient resources, and the execute callback.

      Parameters

      Returns AtmosphereLutsOutputs

      Pass-specific output record (typically a set of handles downstream passes will consume).