Texturing my terrain

Blitz3D Forums/Blitz3D Programming/Texturing my terrain

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Would some kind soul be able to spare me a few minutes and take a look through my code. here

I got a really strange problem with it..

What it should be doing is, making a mesh.. then tiling it with the first top quarter of the texture. But for some reason its leaving these gaps between each quad on the mesh !?. I thought at first is was the texture coords - but its not.

Then maybe the mesh coords where screwy.. but they cant be, stretch the texture over the whole of the quads, its fine - stretch a certain section over a quad and you get this strange effect.



I've no idea why it is doing this !???.

(The whole area should be green, but its tinted purple - and it shows up gaps which shouldnt exist)