According to GLSL specifications (http://www.opengl.org/registry/doc/G...ull.1.20.8.pdf) page 23 "The attribute qualifier can be used only with float, floating-point vectors, and matrices" but the glVertexAttribPointer specification (http://www.opengl.org/sdk/docs/man/x...ribPointer.xml) states that the maximum value that the "size" parameter can get is 4, meanwhile we would need 16 to fill up a whole mat4. Am I missing something? How can I use a vertex attribute of type mat4?

Thanks,
mic