Skip to content

KHR_texture_basisu / EXT_texture_webp as a non-required extension #1407

Answered by donmccurdy
zeux asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @zeux! As a design simplification I've merged glTF's Texture/Image concepts into one within this library, so there is no official support for representing fallback images as such. When reading a glTF file containing fallback images, the fallbacks are loaded as unused images, and removed if the application calls prune().

Unused images could be attached to the texture definitions as fallbacks with a bit of processing before writing the .gltf and resources to disk. Since you are already very familiar with these extension definitions, I doubt this saves you time compared to modifying the JSON without using glTF Transform... but perhaps it's helpful to some future reader. 🙂

// compress-with…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by zeux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants