Closed nicastel closed 10 years ago
I don't have knowledge on DDS but I have seen this repo looking at other things: https://github.com/philjord/3DTools/tree/master/3DTools/src/tools/ddstexture could help you?
This one is only a reader.
I have finally borrowed the WorldWind Android DDS Writer, this is simply the best one available in Java.
The DDS format can perfectly handle an ETC1 texture (with the FOURCC "ETC1" in the header) since the size and structure (4x4 pixel block encoded as 64 bit) is exactly the same as DXT1.
The DDS format as some advantages over PKM : mipmap in the same file, texture array (to have 2 textures ETC1 in the same file : 1 RGB / 1 ALPHA).