Smaller downloads and less graphics memory. A glTF or GLB source keeps its animations.
Convert the textures of a glTF or GLB to KTX2, compress the meshes with meshopt and write LOD files, in the desktop app or from the command line. Everything runs offline on your PC.
Download Free TrialFree trial: 10 conversions with every feature. No credit card required. Windows 10/11.
Every texture is converted to KTX2 with Basis Universal, by default ETC1S for colour maps and UASTC for normal and data maps. You set the quality and a maximum size, such as 2048 pixels.
The bundled gltfpack engine compresses positions, normals and indices. three.js and Babylon.js read the result with their meshopt decoder.
Type 50%, 25% and get name.lod1.glb and name.lod2.glb beside the main file: the same model with fewer triangles and no textures, for objects in the distance.
The preview and the info command list the textures with their size and format, and estimate the graphics memory the textures take now and as KTX2.
One preset does it: GLB, meshopt compression and KTX2 textures up to 2048 pixels. In a build script, add --strict: a file that could not be fully optimized then fails with an error code instead of being written with a warning.
Optimize one model for the web and write two LOD files cadconvert convert truck.glb -o out/ --preset web-game --lods 50%,25% --strict Optimize a whole folder cadconvert batch ./models -o ./web -f glb --preset web-game --strict List the textures and the memory estimate cadconvert info out/truck.glb --json
Your viewer needs a KTX2 transcoder and a meshopt decoder. Changing the units or the up axis, or turning on repair, rebuilds a glTF or GLB source: its animations and skins are then lost, and the result says so.
Download & Install
Free trial: 10 conversions with every feature. Windows 10/11.
Choose GLB and turn on KTX2
Choose GLB as the output. In the glTF options, tick Mesh compression and, under Web and games, set Textures to KTX2. For LOD files, type ratios such as 50%, 25%.
Click Convert
Batch processing handles entire folders with progress tracking and ETA.
Free trial: 10 conversions with every feature. No credit card required. Windows 10/11.