How do I access vertex positions in the material editor?

What @BananableOffense said, also you can force some things that would normally run in the fragment shader to run in the vertex shader by using the Vertex Interpolator node.