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

Improve texture format detection #2

Open
maxton opened this issue May 12, 2018 · 0 comments
Open

Improve texture format detection #2

maxton opened this issue May 12, 2018 · 0 comments

Comments

@maxton
Copy link
Owner

maxton commented May 12, 2018

Right now we are guessing the texture format based on the dimensions versus the data size. This works to distinguish DXT3/5 from DXT1 and lossless, but there seem to be a whole lot more texture formats supported by the engine.

The format is definitely being saved in one of the header bytes, so all you have to do is figure out which one to look at.

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

1 participant