PDA

View Full Version : no textures and light enabled turns my colors to gray



03-22-2004, 10:30 AM
im makeing a projekt with both normal-colored GL_QUADS and those with textures... but all those without textures turn to gray, independent of what i write in glColor3f... can anyone help me, i can make a one-color texture and use but i want to spare my cpu-usage so it would be better to use no texture...

chowe6685
03-22-2004, 10:35 AM
glEnable(GL_COLOR_MATERIAL);

mithun_daa
03-22-2004, 10:37 AM
u need to use materials not colors. (pg 201 red book)