layout (location = 0) in vec2 coords; out vec2 tex_coord; void main() { tex_coord = coords; gl_Position = vec4(coords * 2.0 - 1.0, 0.0, 1.0); }