   Different textures
  When drawing stuff using GL_TRIANGLE_STRIP is there any way to set a different texture for each triangle? 
  You can't call glBindTexture in the middle of a glBegin-glEnd pair, so setting a different texture for each triangle would defeat the purpose of using GL_TRIANGLE_STRIP (you would have to put in all three verts for each triangle, IIRC), but there's nothing stopping you from doing it.For example: for (int i = 0; i < totalTris; i++) {glBindTexture (GL_TEXTURE_2D, texture[i].texID);glBegin (GL_TRIANGLE_STRIP);// Draw verts for triangle iglEnd();}______________________________________________________________The Phoenix shall arise from the ashes...   ThunderHawk -- ¦þMySite______________________________________________________________ [edited by - Thunder_Hawk on February 15, 2004 11:35:10 PM];  hmm damn i don't think it will be worth me doing it since i'm using glDrawElements();.  Ok so i'm going to have to apply a texture to the whole terrain then apply a detail texture over it.  How do you make a texture that would cover the whole terrain?   [edited by - hello_there on February 16, 2004 1:46:23 AM]