https://github.com/mukaschultze/facebook-3d-photo-unity
Unity extension to take 3D screenshots for Facebook
https://github.com/mukaschultze/facebook-3d-photo-unity
3d facebook screenshots shaders unity
Last synced: about 2 months ago
JSON representation
Unity extension to take 3D screenshots for Facebook
- Host: GitHub
- URL: https://github.com/mukaschultze/facebook-3d-photo-unity
- Owner: mukaschultze
- License: mit
- Created: 2019-05-16T04:05:30.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-05-16T22:00:41.000Z (over 6 years ago)
- Last Synced: 2025-05-05T14:52:22.704Z (5 months ago)
- Topics: 3d, facebook, screenshots, shaders, unity
- Language: C#
- Homepage:
- Size: 6.59 MB
- Stars: 25
- Watchers: 3
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: license.md
Awesome Lists containing this project
README
# Facebook 3D Photos from Unity
This tool takes screenshots from Unity along with the depth texture, you can use these images to create 3D photos on Facebook to showcase your game.
"3D photos" is just a fancy name for the parallax effect on Facebook, it's not real 3D.
## How to use
- Copy the `Facebook3DPhotos.cs` and `DepthDumpShader.shader` files to your project
- Make sure you have a camera with the `MainCamera` tag
- Run the `3D Photos/Take Screenshot` menu item
- Open the project folder and locate the `screenshot.png` and `screenshot_depth.png` files
- Upload the two files to Facebook, make sure the depth file contains the `_depth` suffix, otherwise it won't work
- *Voilá!* Facebook will generate a 3D photo automatically

## License
MIT