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

Support for WebP textures (EXT_texture_webp) #716

Open
atteneder opened this issue Sep 3, 2024 · 0 comments
Open

Support for WebP textures (EXT_texture_webp) #716

atteneder opened this issue Sep 3, 2024 · 0 comments
Labels
enhancement New feature or request extension involves a glTF extension import Import of glTF files

Comments

@atteneder
Copy link
Owner

There's a ratified vendor extension that enables using WebP files as textures.

This can help to reduce transmission sizes.

I've been hesitant to tackle this, since KTX with Basis Universal super compression can help in those situations and has the benefit of transcoding to GPU formats with reduced memory requirement.

But I assume WebP can reach even higher compression ratios/quality.

It's also been requested multiple times now and there's been a rejected PR (see #632).

There are existing solutions to load WebP (Unity.WebP), but nothing audited or provided by Unity itself. Without that I'm against integrating third party packages in a soft dependency style (similar to how KTX and Draco are integrated).

Instead we should extend the image load context and add-on API so that once can inject a custom texture importer. We could then inverse the dependency and provide an (unsupported) WebP injection.

@atteneder atteneder added enhancement New feature or request extension involves a glTF extension import Import of glTF files labels Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request extension involves a glTF extension import Import of glTF files
Projects
Status: To do
Development

No branches or pull requests

1 participant