Quote:

how would you set it to get light vecs from static and dyamic lights.. if you have multiple lights would you have it always use the vec from the closest light?




i think currently you would have to find the nearest light in the entity's action and pass its position (or direction) to the shader with skill41. if you pass the light's position you would also have to change the shader from using a directional light source (the sun) to a point light source but that isn't difficult.

i think the new light management which is planned by conitec will make light handling a lot easier and more convenient.

shaders often use more than one light source and at the moment this would be tricky because there aren't enough skills to pass several light positions over to the shader...