aboutsummaryrefslogtreecommitdiff
path: root/shader.frag
blob: 082d27bdf0d60dd4426cde8cf375e8438031c504 (plain)
1
2
3
4
5
6
7
8
9
#version 460 core
uniform float test;
layout(location = 0) out vec4 color;

void main() {
	vec2 uv = gl_FragCoord.xy / ivec2(800, 600);
	color = vec4(uv.xy, test, 1.0);
}