Author Topic: MTL file doesn't map textures when using EXPORT MESH...  (Read 389 times)

Hi,

In Substance, when I export to OBJ (using File - Export Mesh...), the system creates an *.mtl file, which looks like this:

Code: [Select]
# File produced by Open Asset Import Library (http://www.assimp.sf.net)
# (assimp v3.1.193236683)

newmtl Cabinet
kd 0.8 0.8 0.8
ka 1 1 1
ks 0.5 0.5 0.5
ke 0 0 0
d 1
Ns 900
illum 2

So, as you can see, the MTL file doesn't tell where the actual PNG textures are.
My understanding is that a line should tell where the textures are. Something like this:
Code: [Select]
map_Kd textures\Cabinet_diffuse.png
And so far, every software I import this mesh to, show a white OBJ, with the correct shader, but no textures attached. (I tried Unity, Blender, Daz3d, even re-importing back to Substance Painter)

Is there a way for Substance to generate the MTL file in a way that is usable by other application ?
Or is there something I don't understand in the way a MTL file works?


Thank you !