• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 140
2uniform sampler2D texSampler2D;
3in vec4 color;
4in float alpha;
5
6in vec4 TexCoord[6];
7
8in  vec4 userIn[2];
9
10flat in int a, b;
11
12void main()
13{
14	vec4 texColor = texture(texSampler2D, vec2(userIn[b] + TexCoord[a] + TexCoord[5]));
15
16	texColor += color;
17
18	texColor.a = alpha;
19
20    gl_FragColor = TexCoord[0] + TexCoord[b] + texColor + userIn[a];
21}
22