P3D skybox texture mapping problem

The picture below shows a simple 3D scene with terrain and a skybox. The problem is that although the sky images tile seamlessly in 2D when applied to my skybox you can see the box seams.

Although it is possible I am doing something wrong in software I don’t think so. Has anyone else experienced anything similar?

29

3 Likes

try noStroke() on your skybox

:wink:

Chrisir

2 Likes

Done that and I even set the strokeWeight to zero :wink:

1 Like

or use skySphere ?

:wink:

Chrisir

2 Likes

If instead of using texture coordinates (0-1, 0-) I use something smaller e.g, (0.002-0.998, 0.002-0.998) the effect is greatly reduced making me think it is an artifact caused by using the edge of the image.

This does not happen with the terrain which is a seamless texture allowing wrap around movement.
I will try a sky s[here when I get the chance and I am confident that it will work but I am still interested if anyone knows the cause of this artifact.

2 Likes