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

17 lines (11 loc) 396 B
import { createMaterialXMaterial } from "./loader/loader.three.js"; export { ready, preloadWasm } from "./materialx.js"; export { MaterialXMaterial } from "./materialx.material.js"; export { MaterialXLoader } from "./loader/loader.three.js"; /** * Experimental API for creating MaterialX materials. */ const Experimental_API = { createMaterialXMaterial }; export { Experimental_API };