Taos API Reference
    Preparing search index...

    Function pbrMaterialToOpenPbr

    • Build an OpenPbrMaterial that reproduces pbr's shading as closely as the OpenPBR Surface model allows.

      Mapping — base/specular/coat/fuzz/thin-film/subsurface/anisotropy/emission all transfer 1:1 in meaning (only the parameterization differs); the dielectric specular scalar + ior collapse into OpenPBR's specular_ior + specular_weight so the resulting base F0 is identical (0.08·specular·specularColor). Textures carried: base-color, normal, metallic-roughness (engine MER), emissive, anisotropy (direction/strength).

      Not carried (no OpenPbrMaterial equivalent yet — falls back to the constant factors, or is dropped): the per-pixel extMap (deferred clearcoat/sheen/ iridescence multipliers); the UV transform (uvOffset/uvScale/uvRotation/uvTile) and texCoordMask; alphaCutoff (no OpenPBR alpha-test yet); clearcoatNormalToGeometric; clothWrap. Refractive transmission (transmission, thickness, attenuation*, dispersion + the transmission/thickness maps) IS carried — rendered by the forward TransmissionPass, which now reads either material.

      Parameters

      Returns OpenPbrMaterial