I was trying to make this shader working in Quartz Composer
When I copy this shader's code to Fragment Shader
in the GLSL Shader
patch,
error: input of fragment shader 'surfacePosition' not written by vertex shader
So what do I need to fill in the vertex shader instead of the default?