Better ASTC texture compression tooling and formats

Posted on

ASTC compression variants, from https://en.wikipedia.org/wiki/Adaptive_scalable_texture_compression

Thanks to Eugene Loza we have an improved pipeline for compressing textures using ASTC (useful on modern Android and iOS versions). See Auto-generated compressed and scaled textures about GPU texture compression in general.

Now:

  • We can use astcenc tool and the .astc file format it generates for ASTC textures.

    See PR #321 for details.

  • We even package the astcenc tool within the Castle Game Engine. We can, as it is open-source. It’s available in our binary releases as well as GitHub Repo (tools/contrib/). So you don’t have to download/install anything to be able to compress textures using ASTC.

    See PR #351 for details.

  • Where to go from here? What more texture tools to “just bundle with CGE”? I started the thread on our forum. I think bundling AMD Compressonator with CGE is sensible.

Please support the engine development on our Patreon. It funds development of the engine, it means we have resources to do the engine in the right way — that works efficiently and is easy to use.

Start the discussion at Castle Game Engine Forum