Surface texture seams

Blitz3D Forums/Blitz3D Programming/Surface texture seams

Hi everyone.

I've got a weird problem that I've been stuck on for a couple of days now.

Here is a zoomed in screengrab of a texture that has been PaintSurface'd onto a surface.


And here it is with seams.


I'm creating a mesh made up of surfaces created with AddVertex in the usual manner, and then using a brush to paint the textures onto the surfaces.

In the first screenshot, I have used large textures so I could demonstrate what the image looks like without seams.
The 2nd shot represents what my program is actually doing: using textures of 256x256.
At each of the surface boundaries I get this seam happening.

Does anyone know how to get around this?
(Note that the closer the camera is to the mesh, the more obvious the effect).

Thanks for any help.