uniform mat4 projectionMatrix;
varying float eyeDepth;

void main()
{
    // The vertex is in eye coords
    gl_FrontColor = gl_Color;

    gl_TexCoord[0] = gl_MultiTexCoord0;

    eyeDepth = -gl_Vertex.z;

    gl_Position = projectionMatrix * gl_Vertex;
}
