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

DXT3/5 decoders #7

Open
flowtsohg opened this issue Apr 25, 2014 · 1 comment
Open

DXT3/5 decoders #7

flowtsohg opened this issue Apr 25, 2014 · 1 comment

Comments

@flowtsohg
Copy link

I am not sure if this repository has any relevance anymore, but it was a great help for me to get me started on DDS DXT images.

I added DXT3/5 decoders, so in case you want them, I am uploading them here.
I also added the color0 <= color1 condition in DXT1 decoding that you didn't put for some reason.

https://gist.github.com/flowtsohg/11306221

Optimizations are welcome :)

@photopea
Copy link

Hi, I made my own DXT1 / 3 / 5 / 10 decoders, too :) https://github.com/photopea/UTEX.js

32 MB 8192 x 8192 px texture is parsed in 900 ms! :)

And there is an encoder (compressor), too.

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

No branches or pull requests

2 participants