// WWW.TGBUS.COM
// Universe Studio

uniform samplerRECT samp0 : register(s0); 
 
void main(out float4 ocol0 : COLOR0, in float2 uv0 : TEXCOORD0) 
{ 
  float4 c0 = float4(0, 0, 0, 0); 
  c0 += texRECT(samp0, uv0+float2( 3, 0)).rgba; 
  c0 += texRECT(samp0, uv0+float2( 2, 0)).rgba*2; 
  c0 += texRECT(samp0, uv0+float2( 1, 0)).rgba*4; 
  c0 += texRECT(samp0, uv0+float2(-1, 0)).rgba*4; 
  c0 += texRECT(samp0, uv0+float2(-2, 0)).rgba*2; 
  c0 += texRECT(samp0, uv0+float2(-3, 0)).rgba; 
  c0 = c0/14; 
  ocol0 = float4(c0.r, c0.g, c0.b, c0.a); 
}