Does anyone knows how Vertex Attrib Array works ?
Usually with ARB_vertex_program, I use to write
glEnableVertexAttribArrayARB(6);
glVertexAttribPointerARB(6, 3, GL_FLOAT, GL_FALSE, 0, m_pT);
and access it from the shader code by writing
ATTRIB BiNormal = vertex.attrib[6];
But under OpenGL Shader Language (GL_ARB_shader_objects/GL_ARB_vertex_shader/GL_ARB_shading_language_100)
There is no equivalent (Just the 'attribute vec3')
Is someone tried to use Vertex Array Attrib in a OpenGL 2.0 code ?