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

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

My question is how to achieve this result? As stated in the official Cardboard VR documentation, I used a stereoControl script inside my ARCamera and it worked in playback mode. BUT when compiled running on Android, the app just doesn't show stereo cameras, only showing one camera.

A friend of mine said it was a question of duplicating cameras, but I don't understand how to do it successfully.

Thanx in advance.

+3


source to share


1 answer


I did something similar using RenderTexture

The trick was rendering that ARCamera (vuforia) into a texture and bind that texture to the plane that the CameraCardboard sees.



if you can upgrade to Vuforia 5.0.5. it is possible to switch the stereo mode and at this moment you will not need Cardboard.

+1


source







All Articles