The binary-gltf-utils module allows you to convert plain GLTF files with separate assets to a single, bundled Binary GLTF file.
Usage: gltf-to-glb <file> [options] Options: -e, --embed embeds textures or shaders into binary GLTF file [array] [choices: "textures", "shaders"] --cesium OBSOLETE (has no effect, no longer required by Cesium) [boolean] -h, --help Show help [boolean]
Licence: MIT (see COPYRIGHT.md for details)
Changes since 1.1.1
- Fix embedding of image textures
- Add support for
--embedoption without further arguments
- Fix binary GLTF file generation for files without
binary_glTFbuffer definition to all files
--cesiumflag is obsolete and no longer has any effect. Cesium 1.20+ has changed its Binary GLTF reader to be specification compliant.