There is no need for special functions like this, A6 does this automatically. Just use the arrays vecLightPos[8] and vecLightColor[8]

In Sphere i do use my own lighitng managemnt, but that is for other reasons.


Sphere Engine--the premier A6 graphics plugin.