Skip to content

Using Quest Passthrough with MRTK3 #11239

Answered by thisisvaze
thisisvaze asked this question in Q&A
Discussion options

You must be logged in to vote

I was able to use the passthrough mode on a Quest device as suggested by @Zee2.

  1. Add both MRTK3 and Oculus Integration SDK to your Unity project.
  2. In the scene use MRTK XR Rig and add these scripts: OVR Manager and OVR Passthrough layer.
  3. The only issue was that the MRTK XR Rig's Main camera sets the background black when initiated, so I added this to Update() on a script with the following code to change the background color to clear.
    Camera.main.backgroundColor = new Color(0f,0f,0f,0f);

Tested and worked in the Unity play mode, not sure if it works when the app is deployed.
Can't wait to get official support for the passthrough but this should do for prototyping until then!

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@Zee2
Comment options

@Zee2
Comment options

@keveleigh
Comment options

@thisisvaze
Comment options

@LocalJoost
Comment options

Answer selected by thisisvaze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants