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

struct pixel
{
	float4 color : COLOR;
};

pixel main( fragment IN,
	    const uniform sampler2D texture)
{
	pixel OUT;

	float multiply = 0.2;
	float2 newtexcoord = IN.color0.xy*multiply;
//	newtexcoord += IN.texcoord0*4;
	
	float4 texelcolor = tex2D(texture, newtexcoord);
	texelcolor *= texelcolor;

	OUT.color = tex2D(texture, newtexcoord);
	
	return OUT;	
}
