@pmndrs/reflections
    Preparing search index...

    Interface ProbeLookupOptions

    interface ProbeLookupOptions {
        atlases?: number;
        captureTransform?: ProbeCaptureTransform;
        count?: number;
        distanceRoughness?: boolean;
        dominantDirection?: boolean;
        layout: ProbeLayout;
        lodMapping?: ProbeLodMapping;
        mirrorX?: boolean;
        refit?: boolean;
        roughnessLerp?: boolean;
        volumeAtlases?: readonly number[];
    }

    Hierarchy (View Summary)

    Index
    atlases?: number

    Atlases the set's captures live in, one per resolution class (D4700), all of layout's kind (each its own size and mip count: the table's row 2 holds each one's maxLod, a volume's row +4.w its atlas). Atlas 0 holds the environment slot. Default 1: the one-atlas lookup, unchanged. At most 4 (PROBE_MAX_ATLASES).

    captureTransform?: ProbeCaptureTransform

    How the atlas's captures relate to WebGPU's cube convention (./capture.ts, D1805). The lookup applies its axes to every world direction (its faces act at capture time only). Default: none. Not together with mirrorX.

    count?: number

    The table's volume count, known at compile time (an engine that recompiles when the probe count changes: three). Up to PROBE_UNROLL_MAX_VOLUMES the walk is unrolled for exactly this many volumes (the table's count is then ignored; the runtime loop measured ~1.5x the lookup cost at a few volumes, W7 / W63); above, the lookup walks the table's volume grid as without it (W63, D4950: unrolled, the cost grows faster than the count). Default: the grid walk.

    distanceRoughness?: boolean

    Lagarde 2014's distance-based roughness on box-projected volumes (Listing 25, D53): the roughness shrinks toward contact with the projection box, by the ratio of P's and the capture point's distances to the box hit. Default false.

    dominantDirection?: boolean

    Lagarde's dominant direction (D57). Default false.

    layout: ProbeLayout
    lodMapping?: ProbeLodMapping

    Roughness to mip. Default 'alpha' (D101); 'r187' is three r187's PMREM mapping everywhere.

    mirrorX?: boolean

    The atlas holds x-mirrored captures (three's CubeCamera): an alias of captureTransform: CAPTURE_MIRROR_X. Default false.

    refit?: boolean

    Re-fit by frame irradiance (SPEC "Probe re-fit", D60, D803). Default: on when the lookup has a frame irradiance provider (ProbeLookupModuleOptions.frameIrradianceWgsl), else off; the function form (probeLookupFunctionWgsl) has no provider option, so there the default is off and the caller decides (a negative frameIrr also switches it off at run time). An explicit value wins.

    roughnessLerp?: boolean

    Lagarde 2014's roughness lerp of the box-projected direction back toward the unprojected one (Appendix F, D53, D2700). Default false.

    volumeAtlases?: readonly number[]

    With count and several atlases: the atlas of each unrolled volume, fixed at compile time (an engine that recompiles per bake, three), so each volume samples its own texture with no branch. Absent, or past PROBE_UNROLL_MAX_VOLUMES (the grid walk), each volume's atlas is read from the table and picked by a branch.