I’ve already written out my problem here: http://stackoverflow.com/questions/18240149/glsl-mat4-arrays-and-extremely-strange-behaviour-when-setting-using-a-for-loop
Basically if i assign mat4 to an array using a for loop with a variable conditional, or literal value over 8, the data when uploaded overwrites / corrupts adjacent texture pixels.
This is the most bizarre bug I have ever come across…
Any idea what i’m doing wrong?