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
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