ReadonlyalbedoOptional ReadonlybaseLinear base colour before metalness / transmission (three: color x mean(map)).
Optional ReadonlybaseW97: 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.
Optional ReadonlyclearcoatOptional ReadonlyclearcoatOptional ReadonlyemissiveOptional ReadonlymetalnessOptional Readonlyopenpbr@pmndrs/raytracer RtMaterialInput fields, applied over the ones derived here.
Optional ReadonlyroughnessOptional ReadonlyspecularOptional Readonlytransmission
A traced hit's material. The seam's own fields (
albedo,emissive,specular= F0, perceptualroughness, clear coat) are what the probe / environment hit shadings read (WGSLHitMaterial,HitSpecular). @pmndrs/raytracer stores physical (metal-rough, OpenPBR) records: givebaseColor+metalness(+transmission) when you have them (three'sdefaultHitMaterialdoes); otherwise they are solved fromalbedoandspecularby three's own formulas (albedo = base (1 - m),F0 = 0.04 + (base - 0.04) m).openpbrpasses any further @pmndrs/raytracer material field through unchanged (RtMaterialInput), last.