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

Why do the textures need to be this width and height? #3

Open
stuffi3000 opened this issue Apr 9, 2019 · 0 comments
Open

Why do the textures need to be this width and height? #3

stuffi3000 opened this issue Apr 9, 2019 · 0 comments

Comments

@stuffi3000
Copy link

Hello, I have a question.
I've been looking into your code and honestly it's pretty amazing that you're able to display .dds compressed textures in the browser! But why do these textures have to be 128128, 256256, etc. ?
I'm a modder for a video game called "Hearts of Iron IV", which uses the .dds fromat as general image compression. But most of those images do not have this "power of two" width and height.

Would it be possible to display those not power of two images in my browser?

I'd really like to implement or at least help to implement your .dds file preview into the Github Desktop software (which almost all big mods for Hearts of Iron use to sync their files in their team).

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