OpenGL | ES Question
Ok, so I am just trying to teach myself OpenGL ES, and have a couple of roadblocks. They seem so simple, yet so difficult at the same time. One of which has to do with Normals.
I have a GLfloat array of vertices created from an OBJ file. In order for the lighting to work, I need normals.
How can I calculate normals based on the array of GLfloats?
Thanks.
|