sampler SAMPLER0 : register (s0);
float4 MIP_COUNT : register (c0);

float4 main(float2 texcoord : TEXCOORD0) : COLOR0
{
    float4 tc = float4(texcoord.x, texcoord.y, 0, texcoord.x*MIP_COUNT.x);
    return tex2Dlod(SAMPLER0, tc);
}
