BioMotionLab / TUX

A framework for experiments in Unity and VR
https://biomotionlab.github.io/TUX/
Other
29 stars 4 forks source link

Sending different images to each eye #42

Closed Francodibrotsy closed 2 years ago

Francodibrotsy commented 2 years ago

Hi!

I was programing an experiment and I want to work with binocular rivalry, but I don't know how to send different images to each eye. Thanks!

AdamBebko commented 2 years ago

This is a problem I have faced as well. If you use steamVR plugin without using unity’s new openXR implementation, vr cameras should have a “Target eye” property. The problem is that in unity’s new XR plugin management system in either URP or HDRP, they have removed that functionality and I have yet to find a solution. So as long as you use the built in render pipeline you should be able to put two cameras in the scene and choose the target eye.

Hope that helps!

Sent from my iPhone

On Dec 28, 2021, at 12:14 PM, Francodibrotsy @.***> wrote:

 Hi!

I was programing an experiment and I want to work with binocular rivalry, but I don't know how to send different images to each eye. Thanks!

— Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android. You are receiving this because you are subscribed to this thread.

AdamBebko commented 2 years ago

assuming that fixed the problem. closing this. reopen if you have problems.