@pmndrs/reflections
    Preparing search index...

    Interface BilateralFillWeights

    The bilateral weights (WGSL BilateralWeights). Every tolerance 0 turns its term off.

    interface BilateralFillWeights {
        minWeightSum: number;
        normalPower: number;
        planeTolerance: number;
        roughnessTolerance: number;
        sourceMask: number;
    }
    Index
    minWeightSum: number

    Below this weight sum the result is not used (the caller keeps or takes the probe). Default 0.01.

    normalPower: number

    Normal term pow(saturate(dot(n_p, n_q)), normalPower). Default 16 (25 degrees: 0.21).

    planeTolerance: number

    Plane distance: a tap q at distance d = |dot(n_p, x_q - x_p)| from the filled pixel's tangent plane weighs saturate(1 - d / (planeTolerance x |x_p - camera|)). Relative to the view distance, so one value serves every scene scale. Default 0.01.

    roughnessTolerance: number

    Roughness term saturate(1 - |r_p - r_q| / roughnessTolerance), perceptual roughness. Default 0.1.

    sourceMask: number

    Accepted tap hit sources, one bit per code (bit c for code c, codes < 32). The X4 fill passes RT_SOURCE codes: default bits 1 (traced hit), 2 (traced miss) and 4 (traced hit shaded from the screen) = 0b10110: a miss pixel takes what the tracer found for its neighbours, not their screen-space hits (bit 0) nor capped entries (bit 3).