All Questions
1 question
3
votes
1
answer
2k
views
Are ambient, diffuse and specular light or material properties?
Are ambient, diffuse and specular properties of light or material?
I am doing ray casting in OpenGL, I've managed to create lit sphere using formula
I = L Ka + L Kd (n . l) + L Ks (r . v)^n
but I ...