It works well if the GLTF only contains a .gltf file, but when I try to render a GLTF folder contains .gltf file .png for material, and .bin file, and I use the `src="../abc.gltf", "An error happened", how to properly reference the GLTF asset with multiple files. Can you provide an example?
I was following the example below to render a GLTF asset: https://dwqdaiwenqi.github.io/react-3d-viewer/site/#/GLTF
It works well if the GLTF only contains a
.gltf
file, but when I try to render a GLTF folder contains.gltf
file.png
for material, and.bin
file, and I use the `src="../abc.gltf", "An error happened", how to properly reference the GLTF asset with multiple files. Can you provide an example?Thank you!