vSi
può generare ogni texture coordinate (s,t,…) come funzione lineare delle sue coordinate
vAd esempio
v glTexGeni(GL_S,GL_TEXTURE_GEN_MODE,GL_OBJECT_LINEAR);
v glTexGeni(GL_T,GL_TEXTURE_GEN_MODE,GL_OBJECT_LINEAR);
v float planevs[4]={1.0,0,0,0};
v float planevt[4]={0,1.0,0,0};
v glTexGenfv(GL_S,GL_OBJECT_PLANE,planevs);
v glTexGenfv(GL_T,GL_OBJECT_PLANE,planevt);
v