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

Use webp encode texture #656

Open
N3GIS opened this issue Mar 20, 2024 · 1 comment
Open

Use webp encode texture #656

N3GIS opened this issue Mar 20, 2024 · 1 comment

Comments

@N3GIS
Copy link

N3GIS commented Mar 20, 2024

Is there a plan to support the use of webp to compress textures, so that the data will be smaller

@JamesMasino
Copy link

It's possible to generate a glb off of a gltf using webp textures by editing the gltf's mimeTypes to be "image/webp" and to point towards their respective texture.webp image. The conversion errors out on any image that isn't png, jpg, or webp.
example

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