I’m trying to replace the jpg textures with compressed textures for GPU ( .ktx ).
When I add
let available = [’-astc.ktx’, ‘-dxt.ktx’, ‘-pvrtc.ktx’, ‘-etc2.ktx’, ‘-etc1.ktx’];
let formatUsed = this.engine.setTextureFormatToUse(available);
the gltf is not displayed in the scene.
I tried to add extra .ktx files, renaming them, but to no avail. It is stuck loading the same original .jpg files. How should it be done? Loading the original gltf with the original textures and then loading each .ktx file manual or it is something that i’m missing?
A full example would be wonderful
Also what to use to convert the jpg to ktx files.