• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 140
2in vec2 tex_coord;
3
4void main (void)
5{
6    vec4 white = vec4(1.0);
7    vec4 black = vec4(0.2);
8    vec4 color = white;
9
10    // First, cut out our circle
11    float x = tex_coord.x*2.0 - 1.0;
12    float y = tex_coord.y*2.0 - 1.0;
13
14    discard;
15
16
17    gl_FragColor = color;
18
19}
20