UNPKG

@needle-tools/materialx

Version:

MaterialX material support for three.js and Needle Engine – render physically based MaterialX shaders in the browser via WebAssembly

7 lines (5 loc) 281 B
// Avoid `import ... with { type: 'json' }` (import attributes) since // it requires esbuild 0.18+ / Vite 5+. A default JSON import works in // all major bundlers (Vite, Webpack, Rollup) without extra config. import pkg from '../package.json'; export const VERSION = pkg.version;