varying vec3 normal,lightDir;

void main()
{
	normal = normalize(gl_NormalMatrix * gl_Normal);
	vec3 worldPos = vec3(gl_ModelViewMatrix*gl_Vertex);
	lightDir = normalize(vec3(gl_LightSource[0].position) - worldPos);
	gl_TexCoord[0] = gl_MultiTexCoord0;
	gl_Position = ftransform();
}
