Lambertian Ideal Diffuse Reflection
The fundamental baseline of diffuse shading. Assumes light entering a matte surface is scattered equally in all directions, regardless of the camera view angle.
f_{\text{Lambert}}(\mathbf{l}, \mathbf{v}) = \frac{\rho}{\pi} \max(0, \mathbf{n} \cdot \mathbf{l})vec3 diffuse = (albedo / 3.14159265) * max(dot(N, L), 0.0) * lightColor;