sampler2D sampler1:register(s0);
float mirrory;

float4 main(float4 color : COLOR0, float2 pos : TEXCOORD0) : COLOR0{
  float2 loc = float2(pos.x,(2*mirrory-pos.y));
  return tex2D(sampler1, loc);
}


technique BasicTech {
  pass Pass0 {
    PixelShader = compile ps_3_0 main();
  }
}