#version 330 core layout (location = 0) in vec3 aPos; out vec2 screen_pos; uniform mat4 modelViewProjectionMatrix; void main() { screen_pos = aPos.xy; gl_Position = modelViewProjectionMatrix * vec4(aPos.x, aPos.y, aPos.z, 1.0); }