Best Practices for Compressing glTF Textures
summary
Four main formats: PNG, JPEG, WebP and KTX2, each recommended for a specific tradeoff. PNG offers lossless fidelity and is best for normal maps and interchange between tools, JPEG trades quality for smaller downloads, WebP gives smallest download size but can introduce visible artifacts, and KTX2 with UASTC/ETC codecs stays compressed in memory so GPU upload is cheaper; UASTC can be nearly lossless while ETC shows blockiness. Use Khronos KTX CLI or the glTF compressor in-browser to compare settings; example: an encoded UASTC file can be ~4 MB versus 2.8 MB for PNG.
AI-written summary · about
