Apply texture to sphere without wide seems

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 hasAlpha to 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?

I cannot see the actual image you are using but as a .png I do not think it is a cubemap. Secondly this is not how you apply cubemaps (or cubetextures) you are just using a standardMaterial as in

with texture image image

Suggest you load your image onto imgur and use PG above to show your image to fully check and ask about cubetextures (of which I have little knowledge).

Continuing the discussion from Apply texture to sphere without wide seems:

It mostly looks like the projection mode is wrong. You should create a PG to help fixing it.