VERTEX
uniform float time;
void main()
{

	gl_Position = ftransform(); 
	gl_TexCoord[0] = gl_MultiTexCoord0 ;
	gl_TexCoord[0].y+=time;
	gl_FrontColor =  gl_Color;


}
PIXEL
uniform sampler2D tex;
uniform vec4 basecolor;
void main()
{
	gl_FragColor = basecolor;
	gl_FragColor.a =  gl_Color.r * texture2D(tex,gl_TexCoord[0].st).r ;
}
