varying vec4 projPos;

void main()
{
  // position
  projPos = gl_ModelViewProjectionMatrix * gl_Vertex; 
  // Color
  gl_FrontColor = gl_Color;
  // transform position
  gl_Position = ftransform();
}