Original Post
does anyone have a nice simple list of mathematic function that undergo lighting?
I am tring to play a bit with fragment programs, but i am getting a bit confused with all the dot4 and mul stuff...
I''d like to know the very basic function to compute the final fragment color having the usual stuff, eg the angle between normals, the texture of the poly, the color of the material, the color of the light and so on.
thx!