Compressed in. Readable out.
The bundled CoffeeMat asset arrives through KTX2/Basis and Meshopt.
This lab gives GLTFExporter a real compressed texture,
proves the expected failure without texture utilities, then injects
the backend-matched utility and reloads the exported GLB.
Preparing the compressed CoffeeMat asset and decoder path.
- Meshes
- -
- Textures
- -
- Compressed
- -
- GLB
- -
The matrix first expects the no-utility branch to fail, then exports with the backend-matched texture utility.
coffeemat.glb decoder path
CompressedTexture instances
WebGPU/WebGL matched
readable image payload
independent GLTFLoader parse
Without texture utilities, compressed input is an explicit exporter error rather than an implicit fallback.
KTX2Loader -> CompressedTexture -> GLTFExporter.setTextureUtils() -> GLB -> GLTFLoader
Derived from the official compressed glTF example, KTX2Loader, GLTFExporter, and GLTFLoader. Use ?forceWebGL=1 for the labeled WebGL2 comparison.