summaryrefslogtreecommitdiff
path: root/src/shaders/wave-vs.glsl
blob: c2584f2f9d446f84540864e69f0fc0c8f6e05809 (plain)
1
2
3
4
5
6
7
8
9
10
11
in vec3 pos;
in vec2 uv;
out vec2 v_uv;

uniform mat4 projection;
uniform mat4 view;

void main() {
  gl_Position =  projection * view * vec4(pos, 1.);
  v_uv = uv; 
}