Advertisement

glEnable(GL_TEXTURE_2D) & glColor3f

Started by October 12, 2002 11:21 PM
0 comments, last by nein 22 years, 4 months ago
i godda newbie question: When i use glEnable(GL_TEXTURE_2D) and glColor3f in the same program, glColor doent work. i have tried taking out glEnable(GL_TEXTURE_2D) and when it''s not there, glColor3f works does anyone know why this is? or can someone tell me how to use bitmap textures and color my shapes?

Try this:

glColorMaterial( GL_FRONT, GL_AMBIENT );
glEnable(GL_COLOR_MATERIAL);
MSN: stupidbackup@hotmail.com (not actual e-mail)ICQ: 26469254(my site)

This topic is closed to new replies.

Advertisement