Open dherben opened 6 years ago
There is already a pull request for this (https://github.com/google/etc2comp/pull/29), but there hasn't been any activity on this project for some time so don't hold your breath.
Thanks, I missed that one. I'll just keep using my fork, then
Bumping this one, merging the PR #29 would save people from maintaining forks.
I'm using EtcTool to compress rectangular, power of 2 images (2048x1024) with mipmaps for use in WebGL. WebGL Refuses to load the textures when one of the mipmap-based minFilters is selected.
The generated KTX file contains mipmaps from 2048x1024 down to 2x1. WebGL seems to require a 1x1 mipmap.
I've changed this in my fork and the textures now load correctly. The changes are trivial. If there's any interest, I can try to create a pull request, although my open source contribution skills are rusty