sampler TextureSampler : register(s0);

float red = 1.0;
float green = 1.0;
float blue = 1.0;

float4 main(float2 texCoord : TEXCOORD0) : COLOR0
{
    float4 tex = tex2D(TextureSampler, texCoord);

    float4 sc = {red, green, blue, 1.0};
    tex = tex * sc;

    return tex;
}

technique
{
    pass
    {
        PixelShader = compile ps_2_0 main();
    }
}
