sampler TxBase : register(s0);

struct PS_INPUT
{
  float2 uv0 :TEXCOORD0;
};

float4 main (PS_INPUT IN): COLOR0
{
  IN.uv0+=float2(0.002f,0.002f);
  float4 tx1=tex2D(TxBase, IN.uv0+float2(0.01,0));
  float4 tx2=tex2D(TxBase, IN.uv0+float2(-0.01,0));
  float4 tx3=tex2D(TxBase, IN.uv0+float2(0,0.01));
  float4 tx4=tex2D(TxBase, IN.uv0+float2(0,-0.01));
  float4 tx5=tex2D(TxBase, IN.uv0+float2(0,0));
  float4 txout=float4(tx1+tx2+tx3+tx4+tx5)*0.2;

  txout.xyz=(txout.xyz*float3(2,2,2))*0.5;


  return txout;
}
