Hi conitec,
Can you implement an array for an additional light faktor that is passed to shaders as vecLightpos[8] or vecLightColor[8]?
This light variable could be useful for several things. By now it's only possible to receive the light's position, direction, color and range in the shader. Informations that I would like to pass too are for example: -spotlight opening angle, -intensity, -falloff factor.
May be it's also possible to use the w. channels of vecLightColor and vecLightDir for passing such information, I don't know whether these components are used for passing other information by now.
Greetings
Redphoenix
Last edited by RedPhoenix; 12/14/08 12:40.