GLSL corrupting image2d when exporting mat4 array assigned using a for loop

I’ve already written out my problem here:

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?

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