hello, since OpenGL ES doesnt provide functions like glVertex anymore i am forced to use vertex arrays, right?
but how would one provide vertex paramters via glVertexAttrib when rendering with VAs.
also how can you define hard edges? i.e. vertices with different normals depending on which face they belong too.
thanks!
how to provide vertexattributes when rendering with vertex arrays
Quote:Original post by ehmdjii
also how can you define hard edges? i.e. vertices with different normals depending on which face they belong too.
Duplicate the vertex and assign different normal to each one. Two vertices with different normals are not the same vertex.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement