Add vertex shader calculating offset sample