webgi-gltf-extensions
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

WebGi GLTF Extensions

GLTF Extensions used in WebGi - https://webgi.xyz/docs

Usage

Install

npm install webgi-gltf-extensions

Use with glTF-Transform:

import {NodeIO} from '@gltf-transform/core'
import {WEBGI_EXTENSIONS, WebGIMaterialsDiamond} from 'webgi-gltf-extensions'

// Use WebIO instead of NodeIO if you are using browser
const io = new NodeIO().registerExtensions(WEBGI_EXTENSIONS)

// Use io normally
// io.read()
// io.write()

Check source code for a list of all extensions.

Use with three.js:

All extensions already included in the WebGi SDK and are installed by the plugins automatically.

License

MIT

References

Generated with rollup-library-starter

Package Sidebar

Install

npm i webgi-gltf-extensions

Weekly Downloads

0

Version

0.1.0

License

MIT

Unpacked Size

2.47 MB

Total Files

72

Last publish

Collaborators

  • repalash