mini_gl_fb/src/default_vertex_shader.glsl
2018-05-31 21:58:36 -04:00

12 lines
190 B
GLSL

#version 330 core
layout(location = 0) in vec2 pos;
layout(location = 1) in vec2 uv;
out vec2 v_uv;
void main() {
gl_Position = vec4(pos, 0.0, 1.0);
v_uv = vec2(uv);
}