zed
10-03-2006, 01:00 PM
hangon, before i remove my fixed pipeline stuff
now with nvidia i can do the following
#define VA_INDEX_VERTEX 0
glSetVertexAttribArray( VA_INDEX_VERTEX, ....
which is sweet, but i vaguely remember for ATI that they dont have fixed indexs for the various attribs eg color/vertex/tc0
thus i will have to do something like
glSetVertexAttribArray( this_shaders_vertice_index,
which is a lot more work + frankly a PITA
is this true or are my fears unfounded?
ta zed
now with nvidia i can do the following
#define VA_INDEX_VERTEX 0
glSetVertexAttribArray( VA_INDEX_VERTEX, ....
which is sweet, but i vaguely remember for ATI that they dont have fixed indexs for the various attribs eg color/vertex/tc0
thus i will have to do something like
glSetVertexAttribArray( this_shaders_vertice_index,
which is a lot more work + frankly a PITA
is this true or are my fears unfounded?
ta zed