The technique makes use of Photoshop's under-used 'displacement map' filter. This takes the 256 greyscale values of an existing Photoshop image, and applies them to your target layer. Greyscale values less than 128 result in a negative shift, greater values a positive shift. You can control the degree of horizontal and vertical shifting.