Back face culling
Steps:
- Find cross product of B - A, C - A and do normalization, in order to get N
- find camera ray: camera position substract A
- Doing dot product: (camera ray . N)
If the face dot product result is < 0,
> then camera ray and N are not the same direction, don't display the face
Else
> display the face
Before:
After:
Resources: pikuma course