John Kessenich | f6eae2a | 2016-01-22 17:47:22 -0700 | [diff] [blame] | 1 | #version 140
|
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 2 |
|
John Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 3 | uniform sampler2D texSampler2D;
|
John Kessenich | 6c292d3 | 2016-02-15 20:58:50 -0700 | [diff] [blame] | 4 | in vec3 inColor;
|
| 5 | in vec4 color[6];
|
| 6 | in float alpha[16];
|
John Kessenich | 39374da | 2015-05-15 21:32:46 +0000 | [diff] [blame] | 7 |
|
| 8 | void main()
|
| 9 | {
|
| 10 | vec4 texColor = color[1] + color[1];
|
| 11 |
|
| 12 | texColor.xyz += inColor;
|
| 13 |
|
| 14 | texColor.a += alpha[12];
|
| 15 |
|
| 16 | gl_FragColor = texColor;
|
| 17 | }
|