gltf loader doesn't resolve certain paths
CodeRhymesLife opened this issue · comments
Ryan C James commented
GLTF files are resolved at /assets/models/ while images are resolved at /assets/images/. However, the GLTF loader assumes GLTF assets are in the same folder as the GLTF file. So, for example, if you have a GLTF file that specifies "image.png" in its json, the GLTF loader will look in /assets/models/ for the image rather than /assets/images/.
It looks like this loader will address this issue: https://github.com/mientjan/gltf-webpack-loader