Hey,
Hoping someone here can clarify a question I have regarding OpenGL and lights…
Im currently reading the OpenGL red book, and I have reached the lights chapter. Whilst skimming through the pages I discover a statement saying that OpenGL is guaranteed to only supports up to 8 light sources, anything above that is vendor specific. So…
Say that you are developing a car driving game, and wish to increase the atmosphere during night time driving by adding lights on the car and street, much like GTA (See URL below). Examining the car in GTA shows that head/tail lights seem to be transparent cubes with light sources inside… Maybe thats possible in DirectX, I dont know that API at all…
http://www.gouranga.com/images/gta3/gta3_216.jpg
I just dont see how this can be done in OpenGL with only 8 light sources, or is it necessary to use lightmaps for head/tail lights and cool street illumination, If I understand that concept correctly…