modified vertex shader to get ready for incoming changes.
offset is calculated for x/y, passed to vertex shader to change coordinates.