aboutsummaryrefslogtreecommitdiff
path: root/fill.vert
blob: 3093ce0043375698b23413fa8b3af67b1de313c4 (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.001);
}