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

Loading a model with .webp texture causes map to be unusable #13423

Open
joshnice opened this issue Mar 6, 2025 · 2 comments
Open

Loading a model with .webp texture causes map to be unusable #13423

joshnice opened this issue Mar 6, 2025 · 2 comments

Comments

@joshnice
Copy link

joshnice commented Mar 6, 2025

When loading a model into Mapbox that uses a .webp texture causes the map to throw an error.

Error which gets thrown is this
Image

I have an example of it happening here:
https://jsbin.com/geziwamepu/1/edit?html,console,output

In the example are two different models, one with PNG texture and one with a WEBP texture. I can't attach examples of the models which don't work but the example above has some on.

@joshnice
Copy link
Author

joshnice commented Mar 8, 2025

@jtorresfabra
Copy link
Contributor

jtorresfabra commented Mar 10, 2025

Hey @joshnice, Thanks for pointing it out.

Webp is an extension to gltf that is indeed not supported in Mapbox right now. We will try to include this in upcoming releases.

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

2 participants