View Full Version : VA and glSecondaryColor3fvEXT

02-13-2003, 10:39 AM
I have implented per pixel lighting as shown on Ron Frazier's site http://www.ronfrazier.net/apparition/index.asp?appmain=research/per_pixel_lighting.html

Now I would like to render the whole thing with vertex arrays. I have a code snippet which deals with multitexturing and vertex arrays, but I have no idea how I shall use the glSecondaryColor3fvEXT. If anyone knows how to do this I would appreciate to learn from him. Thanks for the help!

03-04-2003, 08:19 AM
use glSecondaryColorPointerEXT() to point to your array.