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

PVRTC Encoder formats? #23

Open
Maksims opened this issue Sep 16, 2016 · 2 comments
Open

PVRTC Encoder formats? #23

Maksims opened this issue Sep 16, 2016 · 2 comments
Labels

Comments

@Maksims
Copy link

Maksims commented Sep 16, 2016

Would like to find out what are the options for PVR formats, looks like currently only PVR version 1 4BPP RGBA supported?

If there are plans to support RGB and 2BPP as well? So there would be:
PVR1_2BPP_RGB
PVR1_2BPP_RGBA
PVR1_4BPP_RGB
PVR1_4BPP_RGBA

Btw, amazing work! This is fastest encoders we've managed to find. A bit more quality options would be great for DXT but overall, speed is just great!

@Mokosha
Copy link
Member

Mokosha commented Sep 19, 2016

Thanks -- the DXT encoder is actually from stb_dxt, so the credit should go there.

The two-bit PVRTC methods are certainly another option, but I haven't seen many people use them. I'd certainly entertain pull requests. ;) It seems like any additional work on PVRTC should really take into account version two of the format.

@Mokosha Mokosha added the PVRTC label Sep 19, 2016
@Maksims
Copy link
Author

Maksims commented Oct 19, 2016

Thanks for reply.
Regarding Version 2, for use in WebGL it is unfortunately not available.
WebGL uses 4 formats listed in first post. And using 2BPP is justified when savings needs to be top-top.

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

No branches or pull requests

2 participants