Parallax Mapping using depth map
Parallax example with sample image with depth map.
You can create one from a photo with a depth map (recent iPhones with portrait mode include a depth map. You can create one by hand, here's an example: youtube.com/watch
How to make a depth map?