mattias
06-21-2001, 02:57 PM
If lighting is to be enabled, you must calculate normals for the surfaces. But normals are assigned to vertices - how do I assign normals to surfaces?
Should I just make sure the "average normal" from the vertices is the same as the surface normal? (all vertices in a cube will then have a normal in the same direction as one of the diagonals of the cube)
(I know what normals are and how to calculate them.)
Should I just make sure the "average normal" from the vertices is the same as the surface normal? (all vertices in a cube will then have a normal in the same direction as one of the diagonals of the cube)
(I know what normals are and how to calculate them.)