Is there a possibilty to set the material diffuse component to the vertex colour coming from the vertex (e.g: glColor4f()) so that you have a different colour at each vertex if desired?
Till now I have done lighting in software doing the above with sending the lit vertice’s colour by glColor4f();.
To achieve this with a vertex program is also no problem (i love complete control), but what about implementations that do not support vertex_programms in hardware (like non-nvidia, non-ati cards of the last generation) ?
many thanks in advance
[This message has been edited by crain (edited 03-02-2002).]