Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Etc2 RGB8A1 format support? #2

Closed
ryancheung opened this issue Jun 22, 2020 · 2 comments
Closed

Etc2 RGB8A1 format support? #2

ryancheung opened this issue Jun 22, 2020 · 2 comments
Labels
question Further information is requested

Comments

@ryancheung
Copy link

I currently use google's etc2comp to compress etc2 RGB8A1 for mobile platforms. But it seems slow.
Is it possible to do that in GPU?

Codec ref: https://github.com/google/etc2comp/blob/master/EtcLib/EtcCodec/EtcBlock4x4Encoding_RGB8A1.h

@darksylinc darksylinc added the question Further information is requested label Jun 22, 2020
@darksylinc
Copy link
Owner

I just added ETC2 support (RGB8 and RGBA8).
Betsy now supports:

  • ETC1 RGB8
  • ETC2 RGB8
  • ETC2 RGBA8

There is no support for RGB8A1 (alpha punch-through) though, and I'm afraid it is not planned.

Does this answer your question?

@ryancheung
Copy link
Author

Thanks for the answer. But I believe rgb8a1 format is also important. It just use 1bit alpha and can produce more high quality texture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants