I got a question i could not find yet an answer. In the tutorial 3 Verticles[0] gets defined as follows:
Vertices[0] = video::S3DVertex(0,0,10, 1,1,0, video::SColor(255,0,255,255), 0, 1);
What does the 1,1,0 stand for???? The API reference that this is nx, ny and nz. But what does this mean???
I have to admint: I have no idea
S3DVertex
OpenGl and DirectX both require a normal vector for each vertex in order to light polygons. The normal describes the direction in which the vertex is facing.
.: http://www.mercior.com :.