gl_Position = ftransform (); //Calculate eye-space vertex. The length of this will //be stored in the depth map. gl_TexCoord [0] = gl_ModelViewMatrix * gl_Vertex ;