1#version 330 2 3varying mat4 mvp; 4 5in vec4 v; 6in mat3 am3; 7in mat4 arraym[3]; 8 9out float f; 10out vec4 glPos; 11//out mat4 mout[2]; 12 13void main() 14{ 15 //needs complex output blocks to work: gl_Position = mvp * v; 16 glPos = mvp * v; 17 f = am3[2][1] + arraym[1][2][3]; 18 //mout[1] = arraym[2]; 19} 20