uniform float time;

void main() {
	gl_FrontColor = gl_Color;
	gl_BackColor = gl_Color;

	gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
	gl_TexCoord[0].x -= time * 0.5;
	
	gl_TexCoord[1] = gl_TexCoord[0];
	gl_TexCoord[1].x += time;
	
	gl_Position = ftransform();
}
