gl2-texture-2d.vs.glsl 144 Bytes
Newer Older
1
#version 110
2 3 4 5 6 7 8 9 10 11

attribute vec2 position;
attribute vec2 uv;

varying vec2 vUv;

void main() {
  gl_Position = vec4(position, 0, 1);
  vUv = uv;
}