varying vec2 	texcoord;

uniform vec2 coordScale;
uniform vec2 coordOfs;

attribute vec3	s2_vertex;
attribute vec4	s2_texcoords; 

void main()
{
	gl_Position = vec4(s2_vertex,1.0);
	texcoord = (s2_texcoords.st*coordScale) + coordOfs;	
}