I've already written out my problem here: http://stackoverflow.com/questions/1...ing-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?