UNPKG

@needle-tools/materialx

Version:

Web runtime support to load and display MaterialX materials in Needle Engine and three.js via the MaterialX WebAssembly library. glTF files containing the `NEEDLE_materials_mtlx` extension can be loaded with this package. There is also experimental suppor

13 lines (8 loc) 396 B
export { ready, type MaterialXContext, preloadWasm } from "./materialx.js"; export { MaterialXMaterial } from "./materialx.material.js"; export { MaterialXLoader } from "./loader/loader.three.js"; import { createMaterialXMaterial } from "./loader/loader.three.js"; declare const Experimental_API: { createMaterialXMaterial: typeof createMaterialXMaterial; }; export { Experimental_API };