texture coordinates???
// front face
glNormal3f(0.0, 0.0, 1.0);
glVertex3f(1.0, 1.0, 1.0); glTexCoord2i(1, 1);
glVertex3f(-1.0, 1.0, 1.0); glTexCoord2i(0, 1);
glVertex3f(-1.0, -1.0, 1.0); glTexCoord2i(0, 0);
glVertex3f(1.0, -1.0, 1.0); glTexCoord2i(1, 0);
could someone please correct that to make the top right of the texture go on the first vertex and the bottom left go on the third vertex...im going crazy on this..
thx in advance
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement