[hey
j
imbo]
[≡ posts]
[? about]
All Posts
Phong/Lambert shading
fsharp
series:fsharp-raytracer
series:fsharp-raytracer:3
A simple Lambert shader gives adds depth to our spheres. Lighting is proportional to the cosine of the angle between the light and the surface normal