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’ );
mesh.material.map = texture;
mesh.material.needsUpdate = true;