Skip to content

Transcoding from universal basis ETC1S to ETC2 RGB with punch-through alpha #477

Answered by lexaknyazev
limingchina asked this question in Q&A
Discussion options

You must be logged in to vote

Source RGBA Basis ETC1S data is stored in two separate blocks that are transcoded independently: ETC1S RGB becomes ETC2 RGB (lossless repacking), while ETC1S Alpha becomes ETC2 A8 (simple transcoding). The two transcoded 64-bit blocks are then concatenated into a single ETC2 RGBA 128-bit block.

Producing an ETC2 punch-through alpha blocks would be lossy and noticeably slower because it would require decoding and reencoding ETC1S data.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by limingchina
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants