Apply texture to sphere without wide seems

I’m trying to apply the diffuse cubemap texture file included in te .obj file here:

https://www.turbosquid.com/3d-models/realistic-mars-photorealistic-2k-3d-1277433

with:

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

https://www.babylonjs-playground.com/index.html#LZ464X

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.