14 lines
202 B
Plaintext
14 lines
202 B
Plaintext
|
#version 460 core
|
||
|
|
||
|
layout (location = 0) in vec3 _pos;
|
||
|
layout (location = 1) in vec2 _tex;
|
||
|
|
||
|
out vec3 pos;
|
||
|
out vec2 tex;
|
||
|
|
||
|
void main() {
|
||
|
gl_Position = vec4(_pos.xy, 0, 1);
|
||
|
pos = _pos;
|
||
|
tex = _tex;
|
||
|
}
|