Visible lines between faces of a mesh with different textures on each face

I have converted an equiretangular image to cubemap by using PhotoDome for the equiretangular image and taking screen shot of 6 faces using ScreenshotTools, then I use them as texture for my cube, the only problem is there are visible lines at the edge of each face.


The problem seems to be caused by the texture as I have tried to give all faces white color and I did not see any lines on the edges. How do I fix this?

Welcome aboard!

That would be easier to help with a repro in the Playground (maybe it is a problem with the mipmaps, you can try to use the BABYLON.Constants.TEXTURE_NEAREST_SAMPLINGMODE sampling mode and see if that helps).

Also, you can try to use the ReflectionProbe to create the cube texture: