Original Post
Hi i have to create a custom shape from the code with dx9 and don't know how to set the normals of that shape so that the ligth will work properly.Is there anyway i can set them automaticaly? Do you know some good tutorials about this topic.(i know they have to be perpendicular on the surface not on the vertexes,..but what happens when i have manny surfaces?)