1. Matter of Shading One way to accurately render three-dimensional objects on a computer screen involves...
Subscribe 1. Matter of Shading One way to accurately render three-dimensional objects on a computer screen involves using the dot and cross products. In order to determine how to shade a piece of a surface we need to determine the angle at which rays from the light source hit the surface. To determine this angle, we compute the dot product of the light vector with the vector perpendicular to the surface at the particular point, called the normal vector light...