I'm trying to view (Top Bottom) stereoscopic video using a photosphere and the culling mask technique for GoogleVR (Daydream), but it doesn't seem to be working as intended. Here's what I've done:
Basically my scene has 2 cameras and 2 photospheres in exact same positions. I'm using the Culling Mask element of the left Camera to block the right Sphere and vice versa for the right Camera, so the left eye only sees the left sphere and the right eye, only the right sphere. The "LeftSphere" is playing the top half of the video and the "RightSphere" is playing the bottom half. Therefore, I should be seeing stereoscopic.
Also, since my scene is VR enabled, there is a "Target Eye" element on both cameras. I set that accordingly - Left for left camera and Right for right camera.
The problem is when I play my scene in Unity to test it, it's playing only the RightSphere on both eyes and the left sphere is not being seen by any camera.
Here's what I found out is going on. I just don't know how to fix it:
- As soon as I hit play in Unity, it creates two new child cameras (for left and right eye, included in picture). Those also have their own "Target Eye" element in the Inspector, but they show "Left" for both child cameras of the LeftEye, and show "Right" for the both child cameras of the RightEye. If I change those "Target Eyes" to match the proper eyes, it works. But I can't edit those unless I'm in Play mode. As soon as I get out of Play mode as you know, it reverts any changes you made. How do I access those child cameras? And is that the problem?
(I'm using UMP - UniversalMediaPlayer unity asset for video, btw)
I've tried it on my daydream viewer with my Pixel and it is indeed only playing monoscopic.