A single 2D photo has no depth information on its own. But split it into background, mid-subject, and foreground layers, and as the viewpoint (a cursor, a head movement) shifts left and right, moving the closer layer more and the farther layer less builds a sense of depth — an artificial recreation of motion parallax.
In spatial UI this technique gives ordinary photos and cards a sense of "being in space." Tilt the headset slightly and the subject in a photo shifts more than its background, creating the illusion that it's really floating there in relief.
The demo moves three layered shapes — background, middle, foreground — at different rates following a cursor (or an automatic left-right sweeping viewpoint). Watch how the foreground moves the most while the background barely shifts.
When to use
Use it to add a light sense of depth to photo or card content. Keep the movement range small — overdo it and it can cause dizziness.