VERTEX


varying vec4 col;
void main()
{

	gl_Position=ftransform(); 
	
	gl_TexCoord[0] = gl_MultiTexCoord0;
	col = gl_Color;


}
PIXEL
uniform sampler2D tex;

varying vec4 col;
void main()
{
	gl_FragColor =  col * texture2D(tex,gl_TexCoord[0].xy) ;
}
