![]() Also see the instructions in the Google Docs. Import the latest VR SDK unitypackage to your own Unity project. It supports both Google Cardboard (for Android and iOS) as well as Google Daydream. However, Google also provides an additional Unity VR SDK, which adds several important features: VR emulation in the Unity editor, spatialized audio, Daydream controller support and more. The latest versions of Unity 2017 already include native support for VR with Google Cardboard and Daydream out of the box. Make sure that you have installed Android support for Unity. Now that the scene is prepared, we need to configure it so that we can see the 360° photo in VR. Set the “Skybox material” to our new “SkyboxMaterial”. ![]() Go to Window > Lighting > Settings > Scene. The following step is to assign the skybox material to the scene. Drag the previously created texture onto the material. Mapping: Latitude-Longitude Layout (Cylindrical)Īfter Unity processed the changes and stiches the image, you should see the texture mapped to a sphere in the preview window in the lower right corner.Click on the texture to see its properties in the inspector panel. ![]() The instructions below outline all the necessary steps you need to create your own 360° photo viewer in Unity!Ĭreate a new Unity project and drag & drop the stitched 360° photo to your assets. Note that 360° 2D and 3D video will be supported out-of-the-box in the upcoming Unity 2017.3 release, according to the current Unity roadmap.įor setting up a 360° panorama as a Skybox, the following guides are extremely helpful if you need further pointers: SimplyVR, Tales from the Rift. ![]() The Skybox in Unity is the easiest way to show a 360° photo in VR. This is the perfect 360° photo viewer for Unity, which can then be easily deployed to a Google Daydream / Cardboard VR headset! Loading the 360° Photo in Unity Using the right shader and material, we can assign the cylindric projection to a Skybox. Now, we’ll create a new Unity project for Android. In the first part of the article, we captured a 360° photo using a Samsung Gear 360 camera. ![]()
0 Comments
Leave a Reply. |