bigwheels
bigwheels copied to clipboard
[glTF] Load embedded textures with data URI scheme
Using scene::GltfLoader
, some models in glTF-Sample-Assets fail to load because the texture is embedded with the data URI scheme.
From the spec 5.18.1:
Instead of referencing an external file, [image.uri] MAY contain a data:-URI
This would allow us to load more models like:
cgltf supports a variety of URI, string, and buffer functions for this purpose