Skip to main content
Up and Coming
October 29, 2015

Oculus culling mask unity 5.1

Hi there.

I work with stereo 360 spheres on google cardboard. Everything worked well and now i like to test this on the gear VR.

Seems like it is not possible to make a culling mask for the left and right camera. Is there a solution to make this work ?
    This topic has been closed for replies.

    1 reply

    Inspiring
    November 16, 2015
    We're working on a better long-term approach for this that will let you select between the two textures using a shader constant and a single camera. For now, you can actually use two separate Cameras and set the "Target Eye" property on each to a single eye instead of "Both". Then you can set the culling flags as usual. If you want to use OVRCameraRig with this setup, you'll have to modify it as described in https://forums.oculus.com/viewtopic.php?t=27239.