Topic: Terrain
Ugly and visible tiling effect around each triangle strip
Managed to render a terrain using a heightmap of 128x128 using triangle strips, but my problem is, the edges of the texture map are visibly ugly and obvious.
I need some advice, what is wrong with the code I used here?
void RenderTerrain() glBindTexture(GL_TEXTURE_2D, g_textureID); glPolygonMode(GL_FRONT_AND_BACK,GL_FILL); glTexCoord2f(0,0); |