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

KTX2Loader: Fix loading of non-square textures #20128

Merged
merged 1 commit into from Aug 19, 2020
Merged

KTX2Loader: Fix loading of non-square textures #20128

merged 1 commit into from Aug 19, 2020

Conversation

zeux
Copy link
Contributor

@zeux zeux commented Aug 19, 2020

Previously for non-square textures with a full mip chain one of the
sides for at least one level had non-integer size, which resulted in the
texture being incomplete and returning 0 during sampling.

Previously for non-square textures with a full mip chain one of the
sides for at least one level had non-integer size, which resulted in the
texture being incomplete and returning 0 during sampling.
@mrdoob mrdoob added this to the r120 milestone Aug 19, 2020
@mrdoob mrdoob requested a review from donmccurdy August 19, 2020 17:33
@arpu
Copy link

arpu commented Aug 19, 2020

i can confirm this fixed a problem with with non-square images

@mrdoob mrdoob merged commit 5cbb6bc into mrdoob:dev Aug 19, 2020
@mrdoob
Copy link
Owner

mrdoob commented Aug 19, 2020

Thanks!

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

Successfully merging this pull request may close these issues.

None yet

4 participants