uniform sampler2D tex;

void main(void)
{
	
	vec2 newTCoord=vec2(gl_TexCoord[0]);
	


	vec4 value = texture2D(tex,vec2(newTCoord.x,newTCoord.y));

	
value+=texture2D(tex,vec2(newTCoord.x,newTCoord.y+0.0078125))*0.8521;
value+=texture2D(tex,vec2(newTCoord.x,newTCoord.y+0.015625))*0.5273;
value+=texture2D(tex,vec2(newTCoord.x,newTCoord.y+0.0234375))*0.2369;

value+=texture2D(tex,vec2(newTCoord.x,newTCoord.y-0.0078125))*0.8521;
value+=texture2D(tex,vec2(newTCoord.x,newTCoord.y-0.015625))*0.5273;
value+=texture2D(tex,vec2(newTCoord.x,newTCoord.y-0.0234375))*0.2369;
value/=4.23;

	gl_FragColor = value;
}

