Blender to GLTF material URL wrong

Hello guys,

On Blender 2.8, when I export to .gltf, I saw that URL material is wrong.
That’s why there is no textures on my scene when I use sandbox.

My gltf content :

“images” : [
{
“bufferView” : 4,
“mimeType” : “image/jpeg”,
“name” : “t-water_ponton_NRM”
},
{
“bufferView” : 5,
“mimeType” : “image/jpeg”,
“name” : “t-water_ponton_DIF”
}
],

Is there a parameter to change the URL in my file, cause i will sue a specif structu like :
/assets/tex/
---- t-water_ponton_DIF.jpg
---- t-water_ponton_NRM.jpg
/assets/js/
---- loader.js
---- actions.js
scene.gltf
objects.gltf

I except when i export my glft that it go to take files in /assets/tex/…

Hello the gltf exporter for Blender is not done by us but by Khronos: GitHub - KhronosGroup/glTF-Blender-IO: Blender glTF 2.0 importer and exporter

Fun fact, I just search into glTF issues, on someone ask for this just 10 days ago: Feature request: An option to export textures into "textures" folder · Issue #759 · KhronosGroup/glTF-Blender-IO · GitHub

2 Likes