varying vec3 pos, vpos; void main() { gl_Position = ftransform(); pos = gl_Vertex.xyz; vpos = (gl_ModelViewMatrix * gl_Vertex).xyz; }