the problem is this code move all the textures in the scene, not only the textures in the list, i try with glpop and glpushmatriz but not work… what is wrong?
glMatrixMode(GL_TEXTURE);
glTranslatef(textras,textras,textras);
glLoadIdentity(); <- u need to set it back to identity when youre finished, opengl is a statemachine ‘ie once something is on it will stay on until turned off’
To clarify a bit what Zed is saying, you need to, after you draw the geometry that uses the texture matrix, set the texture matrix back to the identity with glLoadIdentity().