Illumination and Shading |
Combined Model With Multiple Lights, Metallic Highlights and Distance Attenuation
I[l] = Iamb[l] + sum[i]( Idiff[l] + Ispec[l] ) for N lights Where di is distance to light i Possible f(di) = 1 / (a0 + a1 di + a2 di2) a1 di - linear falloff |
Made by dynaPage 0.2 |