• Advertisement

Archived

This topic is now archived and is closed to further replies.

no textures and light enabled makes my colors gray

This topic is 5082 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Advertisement
glEnable(GL_COLOR_MATERIAL);
most people who post here also post at the opengl.org forums, so try not to crosspost too often or you may get flamed. I don''t really care, just worth noting.

Share this post


Link to post
Share on other sites
thx... ok, really didnt know.... wont happen again... but thx anyway

Share this post


Link to post
Share on other sites

  • Advertisement