root/trunk/shader.glsl

Revision 5, 179 bytes (checked in by aliloko, 7 months ago)

First commit

  • Property svn:executable set to *
Line 
1 void main() {
2
3     gl_Position = gl_Vertex;
4
5 }
6
7
8
9
10 void main() {
11
12    vec2 pos = (gl_FragCoord.xy+1. ) * 0.005;
13    gl_FragColor = vec4(pos.y,pos.x,0.0,1.0);
14
15 }
Note: See TracBrowser for help on using the browser.