diff options
author | Juan Linietsky <reduzio@gmail.com> | 2022-09-05 21:11:34 +0200 |
---|---|---|
committer | Juan Linietsky <reduzio@gmail.com> | 2022-12-20 11:26:30 +0100 |
commit | 71d21c7ccb9a78f573d674e717906012c7a5eb39 (patch) | |
tree | 9d50d510979d43b990d7c8783839d6975672b467 /main | |
parent | 00fa4e23e4b967291034ea7bb018dea638b37e8f (diff) |
Implement basic ASTC support
Implements basic ASTC support:
* Only 4x4 and 8x8 block sizes.
* Other block sizes are too complex to handle for Godot image compression handling. May be implemented sometime in the future.
The need for ASTC is mostly for the following use cases:
* Implement a high quality compression option for textures on mobile and M1 Apple hardware.
* For this, the 4x4 is sufficient, since it uses the same size as BPTC.
ASTC supports a lot of block sizes, but the benefit of supporting most of them is slim, while the implementation complexity in Godot is very high.
Supporting only 4x4 (and 8x8) solves the real problem, which is lack of a BPTC alternative on hardware where it's missing.
Note: This does not yet support encoding on import, an ASTC encoder will need to be added.
Diffstat (limited to 'main')
0 files changed, 0 insertions, 0 deletions