You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers. No questions about C++ programming or topics which are answered in the tutorials!
Hello all,
I create an 3D model vertex by vertex but when backfaceculling is actived, only a part of the sphere is draw I think it is a problem with the normal but I don't manage to fix it.
the "south pole" of your sphere shouldn't be visible at all, i guess that your normals are messed up. Do you need a sample code for calculating your normals?
I don't know how calculate the normal, I have tried some data (-1, 1,0) but there are no change. So, if you could help me to calculating the normals I thank you !!