mirror of
https://github.com/italicsjenga/mini_gl_fb.git
synced 2024-11-22 23:41:30 +11:00
12 lines
190 B
GLSL
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);
|
|
}
|