Advertisement

Colors disappear when light is turned on?!

Started by September 27, 2004 05:45 AM
0 comments, last by Marty666 20 years, 2 months ago
Hi all. So far i've only been doing stuff with textures. Since I'm having a heightmap with height based colors (glColor3f). I'm not using textures right now. The problem is that when i turn on lights the colors disappear. Do I need to assign a different material to every vertex? Or can I get my colors back in some way? Thanx, Marty
_____ /____ /|| | || MtY | ||_____|/Marty
ok, using glColorMaterial now
_____ /____ /|| | || MtY | ||_____|/Marty

This topic is closed to new replies.

Advertisement