Original Post
I tried initializing a bunch of lights, but the compiler complains on:
-> glLightfv(GL_LIGHT8, GL_AMBIENT, LightAmbientShell);
scorch3d.cpp(943) : error C2065: ''GL_LIGHT8'' : undeclared identifier
Any ideas ? Why is this happening ? Are there only 8 lights total (LIGHT0 to LIGHT7) in openGL ? How can I have more lights ?
Nitzan
-------------------------
www.geocities.com/nitzanw
www.scorchedearth3d.net
-------------------------