diff options
Diffstat (limited to '02v.glsl')
-rw-r--r-- | 02v.glsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/02v.glsl b/02v.glsl new file mode 100644 index 0000000..d5286df --- /dev/null +++ b/02v.glsl @@ -0,0 +1,9 @@ +attribute vec2 v_render_pos; +attribute vec2 v_pos; + +varying vec2 pos; + +void main() { + gl_Position = vec4(v_render_pos, 0.0, 1.0); + pos = v_pos; +} |