light intensity


there is my problem:

my 3d scene has many lights (directional, point(with radius)). i need calculate for each vertex light intensity. each vertex has normal vector, ambient, diffuse and specular values.
is there any math formula to calculate this intensity?



Assuming your talking about true light intensity (not that approximated by OpenGL) … look at radiosity techniques.