Download

How to achieve a vertex plus a value in the material

like this v.vertex += float4(5,0,0,0);

WorldPositionOffset takes a 3d vector, which shifts the location of the original vertex

Could you use vertex colors as the 4th value? Probably depends on your use case.