May 2018
Beginner
492 pages
11h 53m
English
As of Unity 2018.1, Unity includes an integrated stereo 360 image and video capture capability. The feature is based on Google's omni-directional stereo (ODS), described at the beginning of this chapter. Details in this section summarize the Unity Blogs post from January, 2018 (https://blogs.unity3d.com/2018/01/26/stereo-360-image-and-video-capture/), which explains how to capture ODS stereo cubemaps and convert them to stereo equirectangular textures.
To capture a scene in Editor or standalone player, call camera.RenderToCubemap() once per eye. We used this function earlier; there is a variant that takes a stereoEye parameter, for example:
camera.stereoSeparation = 0.064; // Eye separation ...
Read now
Unlock full access