The vertex-attribute tag has no usage guidance.
0
votes
0answers
115 views
How can I set the attribute index location?
I am trying to set up a shader which takes three input parameters. I have the following code:
GLuint vert = glCreateShader(GL_VERTEX_SHADER);
GLuint frag = glCreateShader(GL_FRAGMENT_SHADER);
const ...