Skip to content

Commit 693c142

Browse files
Force copied camera stereoTargetEye to Both
1 parent 668367d commit 693c142

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

Scripts/Core/VRView.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,8 +157,11 @@ public void OnEnable()
157157
m_Camera.nearClipPlane = nearClipPlane;
158158
}
159159

160+
// TODO: Support multiple cameras
160161
if (m_Camera.clearFlags == CameraClearFlags.Nothing)
161162
m_Camera.clearFlags = CameraClearFlags.SolidColor;
163+
164+
m_Camera.stereoTargetEye = StereoTargetEyeMask.Both;
162165
}
163166
else
164167
{

0 commit comments

Comments
 (0)