#Mipmaps on wasm web
10 messages · Page 1 of 1 (latest)
Not sure what's best for web but the containers/formats that support mipmaps are KTX2, DDS and TGA. Some tools to create them are:
ktx-create
Compressonator (supports KTX2 and DDS)
Afaik once you have generated the files with mipmaps you don't need to do anything special on the Bevy side.
For those working with gltf you might be interested in one of the following:
https://github.com/superdump/klafsa
https://github.com/donmccurdy/glTF-Transform
And general info on ktx/texture compression:
https://github.com/KhronosGroup/3D-Formats-Guidelines/blob/main/KTXArtistGuide.md
hmm so i just put the compressed image files next to the normal ones?
You don't need the original files once you've converted them, you can load them just like you would with png/jpg for example
🚀
it works!