Parallax mapping 101.
What is a parallax map?
A parallax map is a type of texture that explains the depth or height of a surface’s details — similar to a topographic map.
For example, if you’re looking at a 3D graphic of a brick wall, it looks flat without special effects. But parallax mapping makes the brick wall look more realistic by adding recessed grout lines to the flat image. This technology “tricks” the eye by manipulating textures to look three-dimensional in a 2D space.
This technology has so many applications, including:
- Virtual reality and augmented reality
The basics of depth perception.
Your eyes and brain work together to process visual information and perceive depth. Your brain determines depth with binocular cues, which compare each eye’s images to create a cohesive image. This helps you judge depth.
But we can also judge depth with just one eye, thanks to monocular cues. Perspective, shadow, relative size, and texture gradients tell your brain important information about depth.
Parallax mapping works because of how the human brain perceives depth. As you move, closer objects shift more than distant ones. Parallax mapping uses this principle to make object textures change in response to your angle, which simulates the depth your brain expects to see.
For example, when riding in a car, nearby trees seem to zip by quickly, while distant mountains move slowly. This difference in motion gives you a sense of depth. Parallax mapping mimics this experience by making close details move slightly more, giving the illusion of depth on a flat surface.