Been struggling with this the past hour, so need some help. I'm trying to light my screen with objects that already have set color values glColor3f... I've included the glColorMaterial and its enable within my lighting function however, it lights the scene with the last set color which is red even after I've told it to clear. Once you take out the object that is drawing in red it loses all depth on the objects still present. I've put the coding for just the light function below, though if anyone wants to see more just ask. [CODE]void lighting() { GLfloat …

Member Avatar
+0 forum 0

If you click on this link it will show you a tutorial of how you can have DreamScene for your Windows XP computer. Don't forget to comment and give me a thumbs up! =) HD: [URL="http://www.youtube.com/watch?v=kiS2R02VO6w&hd=1"]http://www.youtube.com/watch?v=kiS2R02VO6w&hd=1[/URL] Regular: [URL="http://youtu.be/kiS2R02VO6w"]http://youtu.be/kiS2R02VO6w[/URL]

Member Avatar
+0 forum 0

The End.