How to combine Cardboard VR + Vuforia AR plugin on Unity?

4.2k views Asked by At

Many people are getting good results combining these 2 plugins (Vuforia + Cardboard VR). One good example is CMOAR RPG: https://youtu.be/59wkhmPGPcI

My question is: how to achieve a result like that? As indicated on Cardboard VR official documentation, I used the stereoControl script inside my ARCamera and It worked in Play Mode. BUT when compiled, running on Android, The application just doesn't show stereo cameras, showing only the single camera.

A friend of mine said It's a matter of duplicating cameras, but I don't realize how to do this with success.

Thanx in advance.

1

There are 1 answers

2
LeRoss On

I did something like that by using RenderTexture

The trick was render what the ARCamera (vuforia) into the texture and snap that texture on a plane that the CameraCardboard see.

if you can upgrade to Vuforia 5.0.5. there's a option to toggle the stereo view and on that point, you dont need Cardboard now.