zeux / meshoptimizer

Mesh optimization library that makes meshes smaller and faster to render
MIT License
5.49k stars 473 forks source link

gltfpack: Preserve mesh attributes if the texture exists with no image #697

Closed zeux closed 3 months ago

zeux commented 3 months ago

There are some cases when the texture refers to a NULL image, eg when an unknown image extension is used such as EXT_texture_webp. In this case we used to remove UV coordinates which triggered excessive validation errors; we now preserve UV coordinates even though the texture object is not fully serialized/processed.