I have this problem. I need put a texture 32x32 (square) on a rectangle (32x3 x 32 )
this code works, but the sqaure texure is strech on rectangle....I'd like repeat the 32x32 texture 3 times on rectangle. HOw ca I do? ThanksCode :glBegin(GL_QUADS); glTexCoord2f(0.0f, 0.0f); glVertex(VERT[0] ); glTexCoord2f(1.0f, 0.0f); glVertex(VERT[1] ); glTexCoord2f(1.0f, 1.0f); glVertex(VERT[3] ); glTexCoord2f(0.0f, 1.0f); glVertex(VERT[2] ); glEnd();



