Unity with Vive VR Mirror Reflections

smallarrows.GIF

Mirror effects in VR require a stereo effect since there are 2 cameras, one for each eye.

Import SteamVR SDK Assets
Choose Window->Asset Store

Type SteamVR in the search bar
unity_VR_steam_plugin
Select the
SteamVR Plugin by Valve  (It is free)
Choose Import twice (Ignore errors, select I made a backup go ahead)
Choose
Accept All and OK

Select the SteamVR folder from the Project tab, Select the arrow, select Prefabs
Select the CameraRig
In the Inspector tab
change Size to Calibrated, this uses the calibrated area from the headset

Drag the [CameraRig] into the Hierarchy tab




Import Mirror App

Choose Window->Asset Store
Select Vive Stereo Rendering Tool Kit,    Import
Vive_rendering_toolkit

This effect only works with planes and no recursive reflections.

Floor Mirror
Select GameObject->3D Object Plane or import one from Maya
Inspector tab, Transfor Position 0,0,0

Inspector tab->Add Component->  search for Stereo
     Select Stereo Renderer

Select Is Mirror in the Inspector tab
Deselect
Receive Shadows up under Mesh Renderer in the Inspector tab
Play

Wall Mirror
You should delete the floor mirror. It will not recflect well in the wall mirror and neither will the objects. In addition it gets tricky to rotate the floor mirror to be a wall mirror.

Select
GameObject->3D Object Plane or import one from Maya
Inspector tab, Transfor Position 0,0,0
Inspector tab, Transfor Rotation -90,0,0

Inspector tab->Add Component->  search for Stereo
     Select Stereo Renderer

Select Is Mirror in the Inspector tab
Deselect
Receive Shadows up under Mesh Renderer in the Inspector tab
Play