attribute vec3 vPosition;

uniform mat4 ProjectionModelViewMatrix;

varying vec3 dir;

void main(){
	vec4 realVertexPos = vec4(vPosition.xyz, 1.0);
	gl_Position = ProjectionModelViewMatrix * realVertexPos;

	dir = vPosition;
}