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

Implement mipmap support in BasisTextureLoader #16657

Merged
merged 1 commit into from
Jun 3, 2019
Merged

Implement mipmap support in BasisTextureLoader #16657

merged 1 commit into from
Jun 3, 2019

Conversation

zeux
Copy link
Contributor

@zeux zeux commented Jun 3, 2019

This change makes sure that we load all mipmaps present in the .basis
file. This is important for multiple reasons, one of them being that to
use .basis files in glTF out of the box, the texture has to have a
complete mipchain (otherwise the texture is incomplete as per WebGL spec
and sampling this texture returns (0,0,0)).

Contributes to #16524.

This change makes sure that we load all mipmaps present in the .basis
file. This is important for multiple reasons, one of them being that to
use .basis files in glTF out of the box, the texture has to have a
complete mipchain (otherwise the texture is incomplete as per WebGL spec
and sampling this texture returns (0,0,0)).

Contributes to #16524.
@mrdoob mrdoob requested a review from donmccurdy June 3, 2019 02:05
@mrdoob mrdoob added this to the r106 milestone Jun 3, 2019
Copy link
Collaborator

@donmccurdy donmccurdy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! 🎊

@mrdoob mrdoob merged commit 521a661 into mrdoob:dev Jun 3, 2019
@mrdoob
Copy link
Owner

mrdoob commented Jun 3, 2019

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.

3 participants