Material File Specification

Material files (*.material) are written in JSON format and contain the following elements.

parentMaterial (optional)

The path to the parent material file. If specified, the material inherits the properties of another parent material. The parent material must have the same material type as the material. The path must be relative to the asset root or to the material file. If not specified, the material inherits directly from the materialType.

materialType (optional, if parentMaterial is specified)

The path to the material type. Materials must reference a material type. The path must be relative to the asset root or to the material type file.

This attribute is not required if parentMaterial is specified. In that case, the material inherits the parent material’s materialType. If this attribute specifies a different material type from the parent material’s, an error is reported.


Copyright © 2022 Open 3D Engine Contributors

Documentation Distributed under CC BY 4.0.
For our trademark, privacy and antitrust policies, code of conduct, and terms of use, please click the applicable link below or see https://www.lfprojects.org.


The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Policy page.