blob: b7625afe84965893cdfd9d52001e484040edc918 [file] [log] [blame]
John Kessenichf6eae2a2016-01-22 17:47:22 -07001#version 140
John Kessenich6c292d32016-02-15 20:58:50 -07002
John Kessenich39374da2015-05-15 21:32:46 +00003uniform sampler2D texSampler2D;
John Kessenich6c292d32016-02-15 20:58:50 -07004in vec3 inColor;
5in vec4 color[6];
6in float alpha[16];
John Kessenich39374da2015-05-15 21:32:46 +00007
8void 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}