
    #version 120 

    #extension GL_EXT_bindable_uniform : enable 

    #extension GL_EXT_gpu_shader4 : enable 
#define tex2D texture2D



varying vec3 normal;
varying vec3 normalB;
varying vec2 texture_coordinate_1; 
//varying vec3 vertex_to_light_vector;
varying vec4 position;
				uniform float PosY;
varying vec4 projection_position;

uniform mat4 ProjectionMatrix;

varying vec4 ShadowPosZ;
varying vec4 Color;
				uniform sampler2D texture2d_1;
uniform float particlesize;
varying float rnd;
varying vec2 TheUV;

void main()
{

vec4 glVertex= gl_Vertex;

glVertex= gl_TextureMatrix[0] * glVertex;
gl_Position =  glVertex;

TheUV=gl_MultiTexCoord0.st;
//vec2 TheUV1=gl_Vertex.xy*0.03;
//TheUV1=gl_MultiTexCoord0.st*3.0;

gl_Position = gl_ModelViewProjectionMatrix * gl_Position;

rnd=gl_Color.r;
Color=gl_Color;

position=gl_Position;
	//gl_PointSize =particlesize*1317.0/gl_Position.w;

}











