Texture doesn't load correctly

**[quote=“Amir_zare, post:1, topic:16131, full:true”]
Hi there,
I want to load an obj image with texture but the texture doesn’t load.
Here’s my code:

let materialLoader = new MTLLoader();
let objectLoader = new OBJLoader();
materialLoader.setPath(‘rose/’)
materialLoader.load(‘rose.mtl’, function(materials){
materials.preload();
objectLoader.setMaterials(materials);
objectLoader.setPath(‘rose/’);
objectLoader.load(‘rose.obj’, function(mesh){
scene.add(mesh);
document.querySelector(‘h1’).style.display = ‘none’;
});
});

and also I set the alpha: true for transparent background.

Here’s the result:
photo_2020-06-11_23-01-06

I’ll be grateful for your help
[/quote]

**

Can anyone help??? :thinking: