I’m trying to load several glb models that contain missing textures (I’m ok with seeing them without the textures) and instead of loading without the textures, it just refuses to load. Is there a way I can force it to load without the missing texture(s) without it failing?
Thank you for the reply, I was unaware of that gltf validator. Very handy!
Hello! i want to import .gltf without texture, those texture’s url contained in gltf.
gltf.zip (1.0 MB)
how to prevent loading texture?
the answer is get .gltf by XMLHttpRequest, convert file to JSON, find that uri, delete them, convert JSON to blob, create createObjectURL and put it into scene. simple yo
additional may be will be right to check if this url exist, and if not - delete
I found the append method, so its must not to transform data to blob and create url, just change gltf json and push to append
