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

GLTFExporter: Fix support for RGBA textures. #21888

Merged
merged 1 commit into from
May 26, 2021
Merged

Conversation

Mugen87
Copy link
Collaborator

@Mugen87 Mugen87 commented May 26, 2021

Related issue: Fixed #21887.

Description

Ensures RGBA data textures are also transformed to Uint8ClampedArray so it's possible to use putImageData().

@mrdoob mrdoob added this to the r129 milestone May 26, 2021
@mrdoob mrdoob merged commit 9c2ba55 into mrdoob:dev May 26, 2021
@mrdoob
Copy link
Owner

mrdoob commented May 26, 2021

Thanks!

@clexmond
Copy link

I was going to have a fix in for it this morning, but you beat me to it, thanks @Mugen87 !

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.

GLTFExporter fails to convert image data to Uint8ClampedArray for RGBAFormat
3 participants