A small example that shows how to deform a mesh object with a vertex shader.
Mesh deforming shader example (Unity)