I’m working on creating a video skybox/panoramic to be experienced in VR. However, I’m missing an option that should be on the New Material Inspector window. This option is in all of the tutorials I’ve been watching/reading and is essential for videos that are shot in 3D. I’ve attached a screenshot of the item that should be there.
If this has been changed in the newer versions of Unity, where can I find the setting to change so my videos will work properly? Any help is appreciated!
We are using the new XR toolkit, no legacy, and need to show 3D panoramic video content in our project. How do we enable the 3d Layout option ‘Side by Side’ for panoramic video content ?? This is crucial for our project. We have followed the advice to dump the old legacy route and embrace the new XR route… and the advice on this page Skybox Panoramic Stereoscopic 180 videos with the new XR Manager suggests we simply re-enable Virtual Reality Support in the player. Wrong! In 2019.3.14f1 we cannot renable legacy Virtual Reality when XR is in use.
Has anyone found a way, other than reverting back to legacy Oculus Utilities (please no…) ??
Unity… we need an answer on this. Its an absolute showstopper for our title.
The workaround above is probably the best way to go. If you need to change the values via a script for some reason, you can use:
RenderSettings.skybox.SetFloat(("_Layout"), 2);
Full code file could be e.g. (to set 360 mode to Over/Under):
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Set360Mode : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
// [Enum(None, 0, Side by Side, 1, Over Under, 2)] _Layout("3D Layout", Float)
//print("Layout: " + RenderSettings.skybox.GetFloat("_Layout"));
// OVER UNDER (Stereo) = 2
RenderSettings.skybox.SetFloat(("_Layout"), 2);
}
// Update is called once per frame
void Update()
{
}
}
I`m having the same issue with Unity2020.2.0f1 and Oculus 20.1 There is no 3D layout option on the material. Reverting to legacy Shaders is not the solution. There has to be a better way. .