Here is a really great article from Unity3D guru Alan Zucconi about creating some really neat 3D effects for Facebook photos.
What Facebook does is, at its core, not too dissimilar from what is happening in Super Mario. Given a picture, certain pixels are shifted in the direction of the movement based on their distance from the camera. All that Facebook needs to create a 3D photo is the photo itself, and a map that tells how far each pixel is from the camera. Such a map is called, unsurprisingly, a depth map.
Posted Jan 16 2019
© 2019 Elsie Ng. All rights reserved. RSS