float4x4 mvp;
float sync;

struct vout
{
	float4 pos: POSITION;
	float2 tc: TEXCOORD0;
	float4 c: COLOR0;
};

vout main(float4 pos: POSITION, float4 normal: NORMAL)
{
	vout o;
	//pos += normal * 5;
	o.pos = mul(mvp, pos);
	o.tc.x = 0.5 + 0.5*normal.x;// + sin(sync);
	o.tc.y = 0.5 + 0.5*normal.y;// + sync;
	o.c = float4(1,1,1,1);
	
	return o;
}