aboutsummaryrefslogtreecommitdiff
path: root/output.vert
blob: df4d1039df8719007de40322b9b62194d40449be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#version 460 core

out vec4 color;
in vec4 gl_FragCoord;

uniform ivec2 window;
uniform sampler2D buf;

void main() {
	color = texture(buf, gl_FragCoord.xy / window.xy);
}