#include "/lib/all_the_libs.glsl"
#include "/global/post/bloom.glsl"

// Write to bloom buffer
const bool colortex0MipmapEnabled = true;

in vec2 texcoord;

/* DRAWBUFFERS:1 */
layout(location = 0) out vec4 Color;

void main() {
	Color.rgb = blur3x3(colortex0, texcoord).rgb;
	if(any(isnan(Color.rgb))) {
        Color.rgb = vec3(0);
    }
}
