PDA

View Full Version : light intensity



lesni_bleble
05-18-2004, 09:28 PM
hello,

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?

thanks

-L

brcain
05-19-2004, 05:53 AM
Assuming your talking about true light intensity (not that approximated by OpenGL) ... look at radiosity techniques.