I have seams in the terrain textures on the planet

Godot Version

v4.4.stable.official [4c311cbee]

Question

Hello Godot community, i have a question and is, how i can make my textures for terrain in a planet seamless, because i have a trouble and is im using a procedural textures using a ImageTexture and the final texture has a ugly lines on the corners, how i can mitigate this?

Image:

There’s a variety of possible answers to that, depending on what’s causing the seams. You might check how the texture is set up for edges; does it repeat, for example?

I already tried changing the texture filter to “Nearest” and that was the problem, but I still don’t understand why that line was visible with other options (“Linear”).

Are you sure the texture you were generating was being generated out to the edges, and not (say) one pixel away? Off by one errors are easy to make.

No, i fixed it, is only the texture filter is Sampling settings (the Linear one), thanks

-# Before:

-# After:

(I dont know why this bug happens in Linear…)

“Linear” interpolates between the four closest texels, so if any of your UVs were ever higher than 1.0 or lower than 0.0, you’re sampling off the edge of the texture. It looks like you have repeat on, so those texels would come from the other side of the texture…