@pmndrs/reflections
    Preparing search index...

    Interface BvhTraceMaterial

    A traced hit's material. The seam's own fields (albedo, emissive, specular = F0, perceptual roughness, clear coat) are what the probe / environment hit shadings read (WGSL HitMaterial, HitSpecular). @pmndrs/raytracer stores physical (metal-rough, OpenPBR) records: give baseColor + metalness (+ transmission) when you have them (three's defaultHitMaterial does); otherwise they are solved from albedo and specular by three's own formulas (albedo = base (1 - m), F0 = 0.04 + (base - 0.04) m). openpbr passes any further @pmndrs/raytracer material field through unchanged (RtMaterialInput), last.

    interface BvhTraceMaterial {
        albedo: readonly [number, number, number];
        baseColor?: readonly [number, number, number];
        baseColorTexture?: number;
        clearcoat?: number;
        clearcoatRoughness?: number;
        emissive?: readonly [number, number, number];
        metalness?: number;
        openpbr?: Readonly<Record<string, unknown>>;
        roughness?: number;
        specular?: readonly [number, number, number];
        transmission?: number;
    }
    Index
    albedo: readonly [number, number, number]
    baseColor?: readonly [number, number, number]

    Linear base colour before metalness / transmission (three: color x mean(map)).

    baseColorTexture?: number

    W97: index into the scene's textures of a base colour texture (sRGB; its rgb multiplies baseColor at traced hits, read at the mesh's uvs). baseColor is then the factor alone, without the texture's mean.

    clearcoat?: number
    clearcoatRoughness?: number
    emissive?: readonly [number, number, number]
    metalness?: number
    openpbr?: Readonly<Record<string, unknown>>

    @pmndrs/raytracer RtMaterialInput fields, applied over the ones derived here.

    roughness?: number
    specular?: readonly [number, number, number]
    transmission?: number