VertexAttribs with matrices

shader:

attribute mat3 matrix1;

mainprogram:

glVertexAttrib3f(location,1,0,0);
glVertexAttrib3f(location+1,0,1,0);
glVertexAttrib3f(location+2,0,0,1);

→ with this glVertexAttrib calls the behavior of the shader seems to be undefined. i don’t use the matrix.

a Bug??

if i pass any data in the way you have described it i get this image:

</img>

without the glVertexAttrib calls it looks like this:

</img>

but i don’t use this attribute in the shader.

Interesting that it’s the VertexAttrib calls that are at fault…

I’ve had problems specifying both matrix uniforms and matrix vertex attributes. I’d appreciate it if you’d file a bug to support mine :slight_smile:

bug report is submitted.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.