ARM-software / astc-encoder

The Arm ASTC Encoder, a compressor for the Adaptive Scalable Texture Compression data format.
https://developer.arm.com/graphics
Apache License 2.0
1.02k stars 233 forks source link

KTX2 format support for output textures #475

Open Andreyogld3d opened 1 month ago

Andreyogld3d commented 1 month ago

Hi! We need to add KTX2 format support for output textures https://registry.khronos.org/KTX/specs/2.0/ktxspec.v2.html

solidpixel commented 1 month ago

To support this use case, the codec has been integrated into the KTX tools as a compressor backend, so this is already possible via https://github.com/KhronosGroup/KTX-Software

solidpixel commented 1 month ago

Not against supporting it, but it's likely most full asset pipelines will also need other functionality that we do not support, such as mipgen and multi-surface packing. It's a slippery slope of things that I don't really have time to support, and which are not really specific to the core ASTC codec.

In my experience most developers either use a wrapper tool, such as the KTX-Software, or build their own pipeline around the core codec library.