Turn on the Mixed Reality Cam mode in VR Settings > Stereo Rendering. Cycle through the ‘Display Mirror’ options until it reads ‘Mixed Reality’
Next you need to set up the camera position. You can use a controller or keyboard hotkeys to set a fixed camera position, or use a 3rd controller/tracker for a dynamic camera.
if you have an externalcamera.cfg file from a Unity game you can place it in the .minecraft folder and Vivecraft should load it.
You should also try to match the FOV as closely as possible to the real camera using the slider in VR Options > Stereo Rendering.
The ‘Move 3rd Person Camera’ keybind is available in the Global action set in SteamVR Input. It is unbound by default. Holding this button and moving the controller will move and rotate the camera in the same manner. The camera appears in the headset view as a floating object with a small window showing what it sees.
If you need to move the camera manually you can use the following hotkeys in-game (with no menus open):
- Move left/right: rctrl+left/right
- Move forward/back: rctrl+up/down
- Move up/down: rctrl+pgup/pgdown
- Tilt left/right: rctrl + rshift+left/right
- Tilt up/down: rctrl + rshift+up/down
- Roll left/right: rctrl + rshift + pgup/pgdown
- Change FOV: rctrl + Ins/Del
If you have a 3rd controller or VR tracker attached to your camera, it should be detected automatically by Vivecraft when you switch into Mixed Reality mirror mode. You can adjust the offset between the controller and camera using the hotkeys above.
Mixed Reality Views
the default Mixed Reality view is a 4-pane style similar to Unity games. The top left pane is the foreground, the bottom left is the background. The top right is optionally the alpha mask. The bottom right is the player view, either undistorted or a direct copy of the player view. Undistorted will decrease performance
The dividing plane between the foreground and background is the HMD location.
The un-rendered area of the foreground is perfect black (rgb 0,0,0) and the game will not normally output this value, allowing you use to it as a keying color. You can change the key color in the options menu. You can also used the Alpha mask pane for this purpose. Currently foreground translucency is not supported.
Setting up OBS
Minecraft has some issues with OBS, the only way I’ve gotten it to work is:
- Add your monitor capture as a global source.
- Add the monitor source once, set chroma key to absolute black and similarity to 0.
- Edit the scene and use “alt+size handles” to crop the monitor to the foreground display mirror.
- Set the source size to fit screen vertically then use “shift+size handles” to stretch it left and right.
- Add the monitor again as a source. Repeat the above steps for the background half of the mirror.
- You should now have a combined foreground and background view of the game world.
- Add your cam as a source, set up your chroma keying, and position the source between the foreground and background.
Congratz you’re now in Minecraft!