varying vec2 texcoord;

void main() {
    // 1. Position the geometry
    // ftransform() puts the quad flat on the screen
    gl_Position = ftransform();
    
    // 2. Pass texture coordinates
    // This tells the fragment shader which pixel of the screen we are on
    texcoord = gl_MultiTexCoord0.xy;
}
