[QUOTE=Dark Photon;1288291]…for the case where you’re using non-array uniforms, yes. Probably so.
However, it doesn’t establish that for the array uniform case.
Post a short, standalone GLUT test program …[/QUOTE]
Thanks a lot for your advice! I actually got the test program up and running with the very same syntax I am using in my other project. Everything works fine, all array slots are set. Yet, the other project still doesnt work, double checked pretty much everything, "cout"ed my matrices, checked again with unique non-array uniforms:
int jointLoc1 = glGetUniformLocation(shaderID, "jointTransforms1");
glUniformMatrix4fv(jointLoc1, 1, GL_FALSE, &finalBoneTransformContainer[0].mat[0][0]);
int jointLoc2 = glGetUniformLocation(shaderID, "jointTransforms2");
glUniformMatrix4fv(jointLoc2, 1, GL_FALSE, &finalBoneTransformContainer[1].mat[0][0]);
works.
glUniformMatrix4fv(jointLoc, 20, GL_FALSE, &finalBoneTransformContainer[0].mat[0][0]);
still doesnt, while it does in the test program.
Is it actually possible, that there is a difference in using GLFW and GLAD (my project which doesnt work), and using GLEW and GLUT? Thats pretty much the last possible difference I can find.
Edit: Tried to substitute GLAD for GLEW, didnt change anything.