John Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 1 | #version 330 |
2 | |||||
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 3 | varying mat4 mvp; |
John Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 4 | |
5 | in vec4 v; | ||||
6 | in mat3 am3; | ||||
7 | in mat4 arraym[3]; | ||||
8 | |||||
9 | out float f; | ||||
10 | out vec4 glPos; | ||||
11 | //out mat4 mout[2]; | ||||
12 | |||||
13 | void 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 | } |