Closed donmccurdy closed 1 month ago
In the AnisotropyBarnLamp.gltf sample, the .ktx2 textures are embedded without the required extensions:
AnisotropyBarnLamp.gltf
https://github.com/KhronosGroup/glTF-Sample-Assets/blob/cfbe2f9ac259490855940ff85feb5b4b02386046/Models/AnisotropyBarnLamp/glTF-KTX-BasisU/AnisotropyBarnLamp.gltf#L312-L333
Compare to the examples in the spec. A quick way to fix this is to read/write the model with glTF Transform, which will automatically append the missing extensions:
gltf-transform cp input.gltf output.gltf
That's what I get for editing raw JSON. Thanks for the issue!
In the
AnisotropyBarnLamp.gltf
sample, the .ktx2 textures are embedded without the required extensions:https://github.com/KhronosGroup/glTF-Sample-Assets/blob/cfbe2f9ac259490855940ff85feb5b4b02386046/Models/AnisotropyBarnLamp/glTF-KTX-BasisU/AnisotropyBarnLamp.gltf#L312-L333
Compare to the examples in the spec. A quick way to fix this is to read/write the model with glTF Transform, which will automatically append the missing extensions: