I’m trying to apply the diffuse cubemap texture file included in te .obj file here:
this.material = new BABYLON.StandardMaterial('mars', scene); this.material.diffuseTexture = new BABYLON.Texture("./assets/mesh/Mars/Diffuse.png", scene); this.material.diffuseTexture.hasAlpha = true;
But the texture has very wide seems:
(If I set
hasAlphato false the seems just get filled in with stretched out texture)
I assumed texture would be applied more precisely. How can I get rid on these wide seems?