Material

material

References a shader and specifies input values if needed.

Dependencies

Attributes

AttributeTypeDefaultDescription
shaderRefuuidNoneUUID of the referenced shader.
isDoubleSidedboolNoneWhether the material is double sided or not.
dataJSONjsonNoneInput values as described in the referenced shader in their original JSON format.
constantsJSONjsonNoneSpecialization constants values as described in the referenced shader in their original JSON format.