Minor drawing question

Started by madeinsoviets, January 24, 2011, 13:36:06

Previous topic - Next topic

madeinsoviets

Guys, i just cannot get it...
If gl_Vertex is deprecated in #version 130, how i can draw?
so, i need to draw VBO with indices as usual (glVertexPointer(3, GL_FLOAT, 0, 0)) and if i need to transfere vertex in shader i need to use vertex attributes, right?