CesiumGS / gltf-pipeline

Content pipeline tools for optimizing glTF assets. :globe_with_meridians:
Apache License 2.0
1.87k stars 241 forks source link

Update `forEachTextureInMaterial` to account for extension textures #660

Open jjhembd opened 1 month ago

jjhembd commented 1 month ago

Some of the newer glTF PBR extensions define additional textures. For example,

These will need to be accounted for in forEachTextureInMaterial.

CC https://github.com/CesiumGS/cesium/pull/11970