• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 130
2uniform sampler2D texSampler2D;
3varying vec4 color;
4varying float alpha;
5
6varying vec4 gl_TexCoord[6];
7
8varying vec4 foo[3];
9
10void main()
11{
12	vec4 texColor = texture2D(texSampler2D, vec2(gl_TexCoord[4] + gl_TexCoord[5]));
13
14	texColor += color;
15
16	texColor.a = alpha;
17
18    gl_FragColor = foo[1] + gl_TexCoord[0] + gl_TexCoord[4] + texColor;
19}
20