Skip to main content

MaterialX tools

mtlx is a TypeScript toolkit for working with MaterialX documents and materials. Use the tools directly, or build them into your application.

Start hereWhat it provides
Quick startPreview a material and run your first validation
CLIInspect, validate, package, convert, and render from the terminal
VS Code extensionDiagnostics, graph inspection, and live previews inside your editor
Core libraryBrowser-safe parsing, validation, packages, and headless editing
ViewerThe reusable Three.js viewer, React components, and custom element
SDKTyped clients for the MTLX.ai service
EditorReusable React graph editing components

The online viewer and node editor run locally in your browser. Opening a local material does not upload it to a service. Remote materials and their textures are fetched from the URLs you provide.

mtlx supports loose .mtlx XML and .mtlx.zip packages containing a document and its resources. MaterialX validation and preview rendering cover supported constructs; a passing check is not a promise of complete MaterialX conformance. See formats and compatibility.