Support for Accessing Vertex Data/Writing Custom Shaders

You know, shaders work per-pixel basically. If you need more data you can generate a texture with your data. Then read from that texture in the shader.

In your case you want to put the vertex positions in the texture. You can also create custom nodes to read from the vertex by any given index.