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

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

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

	yofs+=ofs;
	t1.y=gl_MultiTexCoord0.y-yofs;
	t1.x=gl_MultiTexCoord0.x;
	t4.y=gl_MultiTexCoord0.y+yofs;
	t4.x=gl_MultiTexCoord0.x;

	yofs+=ofs;
	t2.y=gl_MultiTexCoord0.y-yofs;
	t2.x=gl_MultiTexCoord0.x;
	t5.y=gl_MultiTexCoord0.y+yofs;
	t5.x=gl_MultiTexCoord0.x;
}