#version 330 core layout (location = 0) in vec3 vert; void main() { // Setting w to 0 has the effect of an infinitely large zoom, which makes the // single triangle fill the viewport completely. This is okay since I only // care about the fragment shader. gl_Position = vec4(vert.xyz, 0.001); }