Taos API Reference
    Preparing search index...

    Class ReflectionProbeIblPass

    Convolves each freshly-captured reflection probe cube into its irradiance

    • prefiltered IBL pair, stored as cube-array slices indexed by the probe's slot. Identical split-sum math to IblBaker but the source is one slice of a cube-array (see reflection_probe_ibl.wgsl).

    Hierarchy (View Summary)

    • Pass<ReflectionProbeIblDeps, ReflectionProbeIblOutputs>
      • ReflectionProbeIblPass
    Index

    Properties

    name: "ReflectionProbeIblPass" = 'ReflectionProbeIblPass'

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

    Accessors

    Methods

    • Parameters

      • ctx: RenderContext
      • captureCubeArrayView: GPUTextureView
      • opts: {
            irradianceSize?: number;
            prefilteredSize?: number;
            maxProbes?: number;
            exposure?: number;
            useSphericalHarmonics?: boolean;
        } = {}
        • OptionalirradianceSize?: number
        • OptionalprefilteredSize?: number
        • OptionalmaxProbes?: number
        • Optionalexposure?: number
        • OptionaluseSphericalHarmonics?: boolean

          Also project each probe into order-3 SH diffuse coefficients (for the IBL_DIFFUSE_SH deferred variant). Builds an extra compute pipeline + dispatch per baked slot; off by default.

      Returns ReflectionProbeIblPass

    • 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

      • graph: RenderGraph

        Graph being built this frame.

      • deps: ReflectionProbeIblDeps

        Pass-specific dependency record (handles, scene data, etc.).

      Returns ReflectionProbeIblOutputs

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