diff options
Diffstat (limited to '03v.glsl')
-rw-r--r-- | 03v.glsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/03v.glsl b/03v.glsl new file mode 100644 index 0000000..d5286df --- /dev/null +++ b/03v.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; +} |