TDT4230_final_project/res/shaders/post.vert

10 lines
174 B
GLSL
Raw Normal View History

#version 430 core
in layout(location = 0) vec3 vertex;
out layout(location = 0) vec2 UV;
void main() {
gl_Position = vec4(vertex, 1.0);
UV = vertex.xy*0.5 + 0.5;
}