/*
	TODO
*/
#version 330

uniform sampler2D sums;
uniform sampler2D counts;
in vec2 position;
out vec4 color;

void main() {
	vec4 sum = texture(sums, position);
	int count = texture(counts, position);
	color = vec4(sum.rgb / sum.a, sum.a / count);
}
