#version 420 core // shader inputs layout (location = 0) in vec3 position; layout (location = 1) in vec2 uv; // shader outputs out vec2 texture_coords; void main() { texture_coords = uv; gl_Position = vec4(position, 1.0f); }