Dot Product
Dot Product is the Algorithm used to determine the lighting of an object. In order to find the Dot Product you need to first get the normal of the face, and then find the angle between the start of the normal and the light source ( as seen in the diagram .) The greater the angle in between, the darker that face will be.
No comments:
Post a Comment