Advertisement

Per-Vertex LIghting again

Started by April 12, 2001 03:03 AM
0 comments, last by Crash_Kid 23 years, 7 months ago
Hi, ok, i think i have understand what Per-Vertex Lighting means or better what it is. Now my Question how do use ''Per-Vertex Lighting'' ?
1)Define normals (glNormal3f(nx,ny,nz)) for each vertex
2)Define lights properties (glLightfv(GL_LIGHTn,parameter,value))
3)glEnable(GL_LIGHTING);
4)glEnable(GL_LIGHTn);

This topic is closed to new replies.

Advertisement