alimer
alimer copied to clipboard
Imaging/Texture loading
- [ ] StbImageSharp/WIC loading
- [ ] DDS
- [ ] ASTC
- [ ] KTX1
- [ ] KTX2
- [ ] BASISU support
I've got a small C++/CLR project here: https://github.com/roy-t/SuperCompressedDotNet where I've made a small wrapper around BasisU, definitely not production ready but it runs and has some tests. I've also verified the code actually works since it decodes a few textures in my game engine.
Could be useful for inspiration.
I think BasisU also has a C API for the transcoder, which might be more natural to use directly from C#. I haven't investigated that yet.
Why didn't use ktx library and make sure you load basisu compressed textures? I recently switched to my C based GPU library https://github.com/amerkoleci/vgpu and will add texture loading there.
In my content pipeline I do plan to add basisu compression starting from png or other imahe formats.