PDA

View Full Version : multi passe and color



IronRaph
04-30-2002, 09:22 AM
so the strucutre is:
drawnland(texture1)
glTexEnvf(GL_TEXTURE_ENV,GL_TEXTURE_ENV_MODE,GL_DE CAL);
glTexEnvf(GL_TEXTURE_ENV,GL_COMBINE_RGB_EXT,GL_COM BINE_EXT);
glBindTexture (GL_TEXTURE_2D, texture[1]);

glDepthFunc(GL_LEQUAL);

drawland(texture2)

but the probleme is that the glcolor on the first wroks fine but it doesn't work on the 2nd pass why

IronRaph
04-30-2002, 09:31 AM
no it is okay I found (no decal but modulate simply http://www.opengl.org/discussion_boards/ubb/smile.gif