zeux / meshoptimizer

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

gltfpack: Add support for EXT_texture_webp #709

Closed zeux closed 2 months ago

zeux commented 2 months ago

Similarly to KHR_texture_basisu appearing in the input, we now preserve WebP images along with the extension if they are present in the input file. There is no support for encoding them if the input file uses PNG/JPEG (nor will there be).

Relies on https://github.com/jkuhlmann/cgltf/pull/253 for parsing.

Fixes #536.