blob: 897a8986c28e29b0b0d3ca57bc1feaf50135852c [file] [log] [blame]
John Kessenich39374da2015-05-15 21:32:46 +00001#version 330
2
John Kessenich6c292d32016-02-15 20:58:50 -07003varying mat4 mvp;
John Kessenich39374da2015-05-15 21:32:46 +00004
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}