Video with transparency/alpha in UMG?

Has anyone had any success using videos in UMG which have transparency?

I want to be able to have multiple layers of video playing in a Blueprint Widget, so I need to be able to use transparency/alpha channels.

Anyone got this to work?

Thanks!

I figured it out, in case anyone else ever needs to know how to do this:

  1. In the Material Editor, set the Material Domain to ‘User Interface’
  2. Set the Blend Mode to ‘Translucent’
  3. Feed your alpha channel / mask into the Opacity connection on the final material inputs node

Actually pretty easy and self-explanatory in the end!

1 Like

Yep just make sure you export the video with alpha channel properly and you should be good to go, same as creating any other transparent material.

You can do some pretty cool effects with this. The Advanced Materials 1 in the marketplace has a good example of a holographic type display that you can do with any video texture that’s pretty cool

  1. What is Material Domain, how do I set it to User Interface?

I can’t import any video format that has an alpha channel in it. I’ve tried with .flv, .avi and other, but I’ve realized Unreal doesn’t support videos with alpha channels. So how did you do that?

Perhaps use two videos, one with color, and a grayscale one for alpha, and stream them together into the same node?

i got success using chroma key: Chroma Key Material? - Rendering - Unreal Engine Forums