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 KHR_materials_dispersion #660

Closed zeux closed 6 months ago

zeux commented 6 months ago

This change adds cgltf parsing support as well as material merging/writing; this extension is similar to KHR_materials_ior in that it's just one extra float.

Specification: https://github.com/KhronosGroup/gltf/tree/main/extensions/2.0/Khronos/KHR_materials_dispersion