Changing .glb model texture makes uv messy

I load up .glb model with setuped materials, and when I try to change the material texture(map) uv becomes messy.

Here’s the code:
var texture = new THREE.TextureLoader().load( ‘imgpath.jpg’ ); = texture;
mesh.material.needsUpdate = true;

I found the answer, I had to add this:
texture.flipY = false;

1 Like

Thank you, I have faced the same issue. texture.flipY = flase; works