{"schemaVersion":1,"id":"det-gltfpack","name":"gltfpack","locale":"en","canonicalUrl":"https://base.akulich.dev/en/library/det-gltfpack/","officialUrl":"https://github.com/zeux/meshoptimizer/blob/master/gltf/README.md","isCatalog":false,"description":"A local CLI optimizing glTF/GLB models: geometry, textures, animations, and draw calls. It helps accelerate web scenes and mobile loading.","tasks":["Reduce GLB file size before publication.","Configure asset optimization in the build."],"categoryIds":["graphics","quality"],"subcategoryIds":["graphics.optimization","quality.performance"],"tags":["glTF","GLB","CLI"],"aliases":[],"platforms":[],"stack":[],"compatibility":null,"pricing":"free","freeUsage":"Free native binaries and an npm version for mesh optimization, quantization, and animation processing. Native binaries are recommended for large files and KTX2/WebP texture compression; their capabilities should not be treated as identical to npm.","paidUsage":null,"license":"MIT for meshoptimizer/gltfpack; input assets retain their own licenses.","selectionGuide":{"purpose":"Reduce GLB file size before publication.","chooseWhen":["Reduce GLB file size before publication.","Configure asset optimization in the build."],"considerInstead":[],"requirements":["For meshopt compression, configure a supporting loader and decoder."],"limitations":["Access terms: Free native binaries and an npm version for mesh optimization, quantization, and animation processing. Native binaries are recommended for large files and KTX2/WebP texture compression; their capabilities should not be treated as identical to npm. Compressed output requires a compatible loader/decoder. Account for automatic mesh merging when objects need separate control.","Terms of use: MIT for meshoptimizer/gltfpack; input assets retain their own licenses.","Automatic merging and node removal can change the structure referenced by application code."],"faq":[{"question":"What can you use for free in gltfpack?","answer":"Free native binaries and an npm version for mesh optimization, quantization, and animation processing. Native binaries are recommended for large files and KTX2/WebP texture compression; their capabilities should not be treated as identical to npm."},{"question":"What are the access terms for gltfpack?","answer":"Free native binaries and an npm version for mesh optimization, quantization, and animation processing. Native binaries are recommended for large files and KTX2/WebP texture compression; their capabilities should not be treated as identical to npm. Compressed output requires a compatible loader/decoder. Account for automatic mesh merging when objects need separate control."},{"question":"What terms of use matter for gltfpack?","answer":"MIT for meshoptimizer/gltfpack; input assets retain their own licenses."},{"question":"How do you get started with gltfpack?","answer":"For the task “Reduce GLB file size before publication”: retain the original and choose a small sample for comparison. Apply the available optimization settings; compare the resulting file size and appearance. Open the saved file in the actual project and retain settings that offer an acceptable balance of quality and size."},{"question":"How do I preserve model parts for separate clicks and animations?","answer":"Optimization can merge meshes and remove nodes. If the application accesses named parts, consider -kn for nodes and -km for materials. After processing, check names and interactions in the target loader rather than only file-size reduction."}],"related":[],"sources":["https://github.com/zeux/meshoptimizer/blob/master/gltf/README.md","https://raw.githubusercontent.com/zeux/meshoptimizer/master/LICENSE.md","https://raw.githubusercontent.com/zeux/meshoptimizer/master/gltf/README.md"]},"selectionCheckedAt":null,"applicationGuide":{"inputs":["The source file and its size; the scene or page where it is used.","The acceptable loss of detail and requirements of the final format."],"steps":["For the task “Reduce GLB file size before publication”: retain the original and choose a small sample for comparison.","Apply the available optimization settings; compare the resulting file size and appearance.","Open the saved file in the actual project and retain settings that offer an acceptable balance of quality and size."],"checks":["Important details, color, transparency, and behavior are preserved where they are used.","Compare source and output file sizes; check loading and final result quality."],"goal":"Example workflow with gltfpack: Reduce GLB file size before publication."},"sources":["https://github.com/zeux/meshoptimizer/blob/master/gltf/README.md","https://raw.githubusercontent.com/zeux/meshoptimizer/master/LICENSE.md","https://raw.githubusercontent.com/zeux/meshoptimizer/master/gltf/README.md"],"checkedAt":"2026-10-03","reviewScope":"The purpose and published terms have been reviewed against the cited primary sources. This page does not confirm that the product was run or tested in every environment.","relatedIds":[],"dataVersion":"cbbe7123b47a5ae80983","type":"Tool","kind":"tool","pricingNote":"Free native binaries and an npm version for mesh optimization, quantization, and animation processing. Native binaries are recommended for large files and KTX2/WebP texture compression; their capabilities should not be treated as identical to npm. Compressed output requires a compatible loader/decoder. Account for automatic mesh merging when objects need separate control.","notes":null,"labeledSources":[{"url":"https://github.com/zeux/meshoptimizer/blob/master/gltf/README.md","label":"Documentation"},{"url":"https://raw.githubusercontent.com/zeux/meshoptimizer/master/LICENSE.md","label":"License"},{"url":"https://raw.githubusercontent.com/zeux/meshoptimizer/master/gltf/README.md","label":"Official source"}],"licenseGuides":[{"id":"mit","title":"MIT — permissive license","scope":null,"summary":"You can use, modify, distribute, and sell the code, including in a closed-source commercial product. When sharing copies or substantial portions of the code, retain the license text and copyright notice. You do not need to open-source your entire project; the author provides no warranties.","url":"https://opensource.org/license/mit"}],"entryIds":[],"composition":null}