How to set texture (texture is number of image files) in .obj using .mtl file

Hi
I have obj file with .mtl and number of texture images how can I load .mtl file and how can set texture.
Thanks,

(https://playground.babylonjs.com/)

Hello and welcome to the Babylon community. If the references in the files are all properly set, you can load them with the file loaders and everything should work: Loading OBJ files | Babylon.js Playground (babylonjs.com).

1 Like

Thanks for your reply,
But my obj file have number of texture files, image file how to set images files as texture in obj ?

1 Like

You’ll want to check the MTL specification MTL OBJ materials file (paulbourke.net) :slight_smile:

1 Like

Thanks for your reply,
Can you give me any other simple example.

I’ve already provided you with the simplest example possible. :slight_smile: If you are having any specific problems with your scene, you need to share it with us using the Playground so we are able to help.