I kept getting errors about some of my procedural meshes not having normals, despite the "shader wanting them". So I just manually used BindChannels to not deal with the normals. For meshes that are 2D GUI elements, I think that's dandy. However, what if not? Does a "real 3D" mesh require the vertex normals to be bound, for backface culling to happen?
asked Apr 02 '10 at 09:06 PM
Normals are required by most shaders in order to determine which color to give to each pixel of the triangle. Most shaders do this by comparing the interpolated normal of the three vertices with the direction of the light.
For backface culling, you do not need normals. the "face winding" of the triangle is used. If your triangles happen to be culled "the wrong way around", change the triangle indices from 1,2,3 to 1,3,2
answered Apr 02 '10 at 11:13 PM
Lucas Meijer 1 ♦♦