Basis is an extremely useful texture format which produce small file and boost the rendering performance, three.js also provide a basis loader, but we found there isn’t a graphical interface for texture generating, this raises the bar for using the basis format. It can also cause a lot of trouble when generating a lot of textures: you have to write a bash script, it’s not easy for all the developers.
So we made a converter based on WebGL version of basisu, which provide:
Texture preview: you can compare the generated texture and original one side by side;
The basisu tool also has an option to output .ktx2 files, would it be possible to provide that as an option? It’s the exact same compression, but you’d need .ktx2 containers to use these in glTF/GLB files or with THREE.KTX2Loader.
Hi, this tool is very useful, but I have a problem with react it doesn’t work when I want to do it on the localhost… I’m getting this error message about the .zip file downloader
Argument of type ‘{ binary: boolean; compression: string; }’ is not assignable to parameter of type ‘JSZipFileOptions’.
Types of property ‘compression’ are incompatible.
Type ‘string’ is not assignable to type ‘Compression | undefined’