Cameras
Last updated
There are 4 cameras in the JMRMixedReality prefab.
The head camera is tagged as the main camera and is disabled when running on target device, hence if you are using Camera.main
in your application, it will return with a null reference exception.
The head camera renders the application in 2d mono view in the unity editor.
Left and right cameras render the application in 3d stereo view on the target device.
POV camera is used for casting your application to other devices.
Skybox can be used to render the sky. Skybox has other use cases as well as mentioned in unity's documentation.
Skybox is enabled by default in VR devices i.e., JioDive
Skybox is disabled by default in AR devices i.e., JioPrism, JioGlass Lite, and JioGlass Pro.
In the unity editor skybox is disabled by default.
You can add a skybox to AR devices i.e., JioPrism and JioGlass Lite by changing the camera clear flags on the OnEnable event after 1-2 frames delay.