basically I am trying to write a OpenGL3 compatible renderer, but since the radeon driver just supports OpenGL1.5 I have to use vp/fp instead of GLSL.
I already managed to write a simple shader and to load it. Now I want to push some external data into it like the Model-View-Matrix, which is the following in OpenGL3:
int loc = glGetUniformLocation(programObject, "name");
glUniformMatrix4fv(loc, 1, GL_FALSE, identity);
I also would like to know whether there is a function closer to glVertexAttribPointer than glVertexPointer?
Generally I am looking for a tutorial which explains a vp/fp based render and also has some documentation for the assembly language.
Or if you have any other tips how to develop a OpenGL3 render with the OSS stack, they are welcome. Speed does not matter yet.
I already managed to write a simple shader and to load it. Now I want to push some external data into it like the Model-View-Matrix, which is the following in OpenGL3:
int loc = glGetUniformLocation(programObject, "name");
glUniformMatrix4fv(loc, 1, GL_FALSE, identity);
I also would like to know whether there is a function closer to glVertexAttribPointer than glVertexPointer?
Generally I am looking for a tutorial which explains a vp/fp based render and also has some documentation for the assembly language.
Or if you have any other tips how to develop a OpenGL3 render with the OSS stack, they are welcome. Speed does not matter yet.
Comment