When I export the .obj file, the generated .mtl does not specify the texture image used by the model.
I expected it to have
map_Kd texture.png
but it does not have it. If I write map_Kd texture.png manually, it works fine.
How can I automate to include the texture image when exporting from blender?
This is my shading scheme:


