This guide explains how you can use Unity alongside and Virtual Reality (VR). This guide is useful if you want to port a non-VR application into a VR application. The guide also shows the important of reflections, and how to implement reflections into VR.

Most Virtual Reality (VR) hardware has Unity support. Many use OpenVR which in turn requires SteamVR to be installed. All devices need an appropriate runtime, for example Steam or Oculus.

Individual setup varies, consult your product documentation to be sure that all correct parameters are set for the devices that you want to be supported.

Before you begin

This guide uses the Samsung Gear VR as an example device. Some of the instructions in this guide are specific to the Samsung Gear VR. The principles that are described in this guide apply to any VR device, but you may need to adapt these instructions for your environment.

Throughout the guide, there are references to an Ice Cave demo. There are images from the demo throughout this guide showing you the output from the VR device.

By the end of this guide, you will have a better understanding of the Unity VR porting process and how this is done and how reflections can be implemented.