GL Lighting and Vertex Colors

BlitzMax Forums/OpenGL Module/GL Lighting and Vertex Colors

TartanTangerine (was Indiepath)(Posted 2006) [#1]
I can't seem to get the two working together.

As soon as I enable lights all my vertex colors are ignored!

Should I be using Vertex Colors at all? can I assign a material per vertex?


TartanTangerine (was Indiepath)(Posted 2006) [#2]
Sorted, forgot glEnable ( GL_COLOR_MATERIAL ) ;


Chris C(Posted 2006) [#3]
dontcha just love it when you do that!