couch/shaders/screen.vert

13 lines
200 B
GLSL
Raw Normal View History

2021-01-19 16:01:37 -06:00
#version 330 core
layout (location = 0) in vec3 pos;
2021-01-21 15:26:39 -06:00
layout (location = 1) in vec3 normal;
layout (location = 2) in vec2 uv;
2021-01-19 16:01:37 -06:00
out vec2 UV;
void main() {
gl_Position = vec4(pos, 1.0);
UV = uv;
}