aboutsummaryrefslogtreecommitdiff
path: root/fill.vert
blob: 5633fd576c5534612e61c2d6996c9d6cf10124a5 (plain)
1
2
3
4
5
6
7
8
9
10
#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.0);
}