How to remove texture wrapping or pinching at the poles

Godot Version

4.5.1

Question

im trying to make a moon and i put the texture but it wraps around the poles, ive searched online but the fixes don’t worl

What fixed have you tried?

I recommend taking a look at this post:

tutortials like this Using a Viewport as a texture — Godot Engine (3.5) documentation in English

The page you linked is for Godot 3.5, but in your post, you stated that you’re using Godot 4.5.1, which means the info on that page is most likely outdated.

oh, do u know anywhere i could find something with this solution with my version

i still cant figure out how to use the code to remove the seams

Use a texture that’s in equirectangular projection and project/sample it in shader using the actual pixel position in object space.

ok uh turns out trianpalar or whatever its called works if the mesh’s size is changed in transform and not the mesh’s size

Triplanar is only good if the texture is “amorphous”, lacking any recognizable features. If you want a real planet texture with distinct geographical features like the actual earth or moon - triplanar won’t cut it.