struct fragment
{
	float4 position  : POSITION;
	float4 color0    : COLOR0;
	float2 texcoord0 : TEXCOORD0;
};


void main( in fragment IN,
					 in uniform sampler2D texture,
					 in uniform float3 alpha,
					 out float4 OUT : COLOR0 )
{
	const float3 c = tex2D( texture, IN.texcoord0 ).rgb;
	OUT = float4( c*c*c*alpha, 1 );
}
