Debian Codegraph @

screensaver.shadertoy/resources/shaders/main_display_GL.vert.glsl

raw
1 #version 150
2
3 in vec4 vertex;
4 out vec2 vTextureCoord;
5
6 void main(void)
7 {
8 gl_Position = vertex;
9 vTextureCoord = vertex.xy*0.5+0.5;
10 }