Pre-skinned local position - Position to Grid?

In 4.14 the new material node ‘pre-skinned local positon’ was added. How would I convert the position of the verticies to a uv grid, like it was done in the example picture?