varying vec2 	texcoord;
varying vec2	t0,t1,t2,t3,t4,t5;
uniform float 	ofs;

void main()
{
	gl_Position = ftransform();
	texcoord = gl_MultiTexCoord0.st;	

	float xofs=ofs;
	t0.x=gl_MultiTexCoord0.x-xofs;
	t0.y=gl_MultiTexCoord0.y;
	t3.x=gl_MultiTexCoord0.x+xofs;
	t3.y=gl_MultiTexCoord0.y;

	xofs+=ofs;
	t1.x=gl_MultiTexCoord0.x-xofs;
	t1.y=gl_MultiTexCoord0.y;
	t4.x=gl_MultiTexCoord0.x+xofs;
	t4.y=gl_MultiTexCoord0.y;
	
	xofs+=ofs;
	t2.x=gl_MultiTexCoord0.x-xofs;
	t2.y=gl_MultiTexCoord0.y;
	t5.x=gl_MultiTexCoord0.x+xofs;
	t5.y=gl_MultiTexCoord0.y;
}