float4 color;

void PassThrough( float4 Pos : POSITION,
                  float2 Tex : TEXCOORD0,
                  out float4 oPos : POSITION,
                  out float2 oTex : TEXCOORD0 ) {    
    // Pass through
    oPos = Pos;
    oTex = Tex;
}

float4 PixNoLight( ) : COLOR {
	return color;
}

technique Main {
	pass p0 {
		AlphaBlendEnable = true;
    SrcBlend = SrcAlpha;
    DestBlend = InvSrcAlpha;
    CullMode = CCW;
    FillMode = Solid;
    FogEnable = False;
		VertexShader = compile vs_2_0 PassThrough();
		PixelShader = compile ps_2_0 PixNoLight();
		ZEnable = false;
		ZWriteEnable = false;
	}
}