Closed abwood closed 1 year ago
Looks like the extension just got merged into glTF mainline. I looked at the change and it seems like it reflects the final version of the spec?
I've tested this as part of https://github.com/zeux/meshoptimizer/pull/556 and it seems to work (the parsing part at least, gltfpack doesn't use cgltf_write)
Oh, this is missing calls to cgltf_free_texture_view
in cgltf_free
. With #118 we will be able to remove those but they are necessary for now.
Note, the failing build is unrelated to this change - fixed by #216.
Great comments, thanks for reviewing @zeux!
@abwood Would you mind merging in master
again?
This PR is following the evolution of the KHR_materials_anisotropy specification.
This specification is still in draft form, so this PR is not yet ready for merge. Wanted a solution available for implementers to assess in their own renderers.