Debian Codegraph @

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

raw
1 #version 100
2
3 precision mediump float;
4 precision mediump int;
5
6 attribute vec4 vertex;
7
8 varying vec2 vTextureCoord;
9
10 void main(void)
11 {
12 gl_Position = vertex;
13 vTextureCoord = vertex.xy*0.5+0.5;
14 }