Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
Donut5's avatar
Donut5
Honored Guest
2 years ago

Working with videos and passthrough.

Hey everyone, I'm trying to get a video to play on the headset in an AR level. More specifically, a video with an alpha channel (.mov exported with apple software, so avi?). Ideally it would persist into a VR level. Unfortunately, the shader shows up black in the build when running in-headset. I have the Avi Unreal Plugins on, as well as the files in the Movie folder, which exists inside of the Content folder and have used the H265 codec for them.

Another question I have is do I need my RHI to be Vulkan to have passthrough enabled, or would DirectX11 work? If the latter is true, the AR levels tend to "break" or not work with DX11 set as the default RHI. Also, would Vulkan being enabled have an effect on the videos? If there are any ideas as to why any help would be greatly appreciated! Thank you.

1 Reply

Replies have been turned off for this discussion
  • i dont now if video with alpha channel works on mobile VR. try a video setting and a separate alpha channel (a black and white video used on set matte, for example) plugged on the mask opacity of the material.
    on the vulkan question, i think if you want to package your app (apk) you need to set it to vulkan. if you watn a exe file for use with air link or similar, i dont know with passthrough can work with directX
    my suggestion is: dont try to do passthrough and video at the same time. try to make passthrough work first and then try to make a video with alpha.