Unity Version: Unity 5.5
Hey guys,
I’m trying to setup a stereo thumbnail in my UIcanvas. If I didnt have any stereo images to display, I would leave the canvas to layer UI and render it with the default camera (set to worldspace). Now, since I got 2 images (left and right), I need 2 cameras to render with 2 different culling mask - left eye and right eye.
Here is what I would like:
Camera 1
- Set to left eye
- culling mask to layer ‘‘leftEye’’
Camera 2
- Set to right eye
- culling mask to layer ‘‘rightEye’’
UICanvas in world space
- image_left with layer set to ‘‘leftEye’’
- image_right with layer set to ‘‘rightEye’’
Unfortunatly, I’m not able to do this. Looks like Unity wont let me use 2 different layer on the same canvas!?
Here is what I need to do:
Camera 1
- Set to left eye
- culling mask to layer ‘‘leftEye’’
Camera 2
- Set to right eye
- culling mask to layer ‘‘rightEye’’
UICanvas1 in world space
- image_left with layer set to ‘‘leftEye’’
UICanvas2 in world space
- image_right with layer set to ‘‘rightEye’’
This one works for some reason?
Any clue why I cant set 2 different layers in the same UICanvas?
Thanks!