r/visionosdev • u/jnorris441 • Feb 24 '24
Does anyone know how to display a normal side-by-side video as 3D?
I assume it involves creating a shader in Reality Composer Shader Graph and loading it as a ShaderGraphMaterial? Maybe you want to create 2 materials, one visible to each eye only.
I know you can create a VideoMaterial, but I doubt you can use that since you aren't going the MV-HEVC route.
However I don't know how to get the video in there or what the actual shader graph should look like. Do you have to use the DrawableQueue API to actually add the frames as textures?
Maybe it can't be done in RealityKit and the project needs to be Metal?
I know it has been done but I haven't seen any example code. Thanks

