Displacement Maps are used in software such as Photoshop and After Effects to influence the appearance of text or other graphics, by referencing the features of an underlying bitmap image.

divider line

Pixels are shifted using the tonal values of this secondary file – light areas are pushed out, and dark areas are pulled in. You can use this technique to make convincing composite files (combining graphics and texture).

Alternatively, you can make random distortions to your work, for a grunge or organic appearance – experimenting with different mapping images can provide all manner of results!

Getting started

To start off this example, let’s identify what we’re trying to achieve.

the base image and the graphic

Our base image and graphic.

We have a textured base image (courtesy of Heather Green on unsplash.com). As you can see, it has many crinkles which provide areas of light and dark tones. For reference, I have resized it to 1800 x 1200 pixels.

Secondly we have a vector graphic, which has been drawn in Adobe Illustrator.

Quite simply, we want to overlay the graphic onto the base image, with a natural looking result. Photoshop will help by making convincing deformations by referencing the tonal variations of the base image.

Making a map

Open the base image, and convert it to Grayscale: Image > Mode > Grayscale.

Note that any noise in the map file will end up influencing the result, giving the effect a stringy appearance. I suggest adding a minor Gaussian Blur: Filter > Blur > Gaussian Blur to combat this. We want the blur to be just powerful enough to start to blend neighbouring pixels together, no more than that.

Use your favourite method to increase the contrast. We will use Levels for this example Cmd / Ctrl + L. Pull the two outer arrows on the histogram inwards – we want to make the highlights bright and the shadows dark.

Save this file as a .PSD.

Pulling it all together

Open the base image again, and paste your graphic from Illustrator as a new layer.

first comp

The graphic placed in position.

With this layer selected, go Filter > Distort > Displace…

options for the displace filter in photoshop

Options for the Displace filter.

A Displace window will appear, with various options. Horizontal and Vertical Scale values affect the strength of the displacement. We will use a value of 5, but by all means, experiment with these figures. Also set the following:

  • Displacement Map = Stretch to Fit
  • Undefined Areas = Repeat Edge Pixels

Press OK and you will be asked to locate the map .PSD file that you created earlier.

Refinement

Now the distortion should be applied to your graphical layer.

displace applied to the comp

With the displacement applied.

You can see how the filter works, but it will be looking rough at this point! You can make this look more convincing by playing with layer blend modes and transparency.

In the following example I have duplicated the graphical layer twice and stacked the three like this:

  • Multiply = 12% (layer converted to black and white)
  • Color Burn = 50%
  • Soft Light = 50%

final comp

Stacking multiple transparent layers.

Colour is particularly tricky to get ‘right’ but by spending time experimenting with duplicates and blending you can absolutely pull it off. You may wish to mask out areas with a print texture or grain for more realism.

—
Header Image: From Getty Images on Unsplash.