This site presents an interactive utility to fetch materials from the PhysicallyBased1 database and generate and visualize them as MaterialX shaders.
The currently supported target shading models are:
Autodesk Standard Surface, OpenPBR, and
Khronos glTF PBR .
Both the Javascript module and Python package implementations can be found materialxMaterials repository.
The material mappings can be found in
this
mapping file.
There is the ability to use the mappings to directly try and map the shading models inputs. This however is not data driven and may require hard-coded logic.
A more robust approach is to support a MaterialX node definition. The current name is physbased_pbr_surface to roughly match MaterialX naming conventions. This definitions is programmatically derived from the attributes from the source database. There is currently a placeholder shader graph implementation so that instances of this definitions can be visualized. Currently only color is mapped.
Additionally a set of BSDF translators can also be generated to support translating physbased_pbr_surface nodes instances.
The generated output can be examined in the Direct Mapping and BSDF areas respectively for
direct mapping and mapping via physbased_pbr_surface.
Select items for generation.
Direct Mapping
Material JSON Data
MaterialX Remapping
BSDF Definition
BSDF Translators
BSDF Materials
BSDF Translated Materials