Question: Hi How can I implement this equation in pure java no libraries? thanks Kd * (N dot L) + K3 * (R dot V) n
Hi How can I implement this equation in pure java no libraries? thanks

Kd * (N dot L) + K3 * (R dot V) n Where N = surface normal L = unit vector between point and light V = unit vector between point and view R = light reflection unit vector (mirror of L about N) Kd is the diffuse relfection constant
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
