Announcement

Collapse
No announcement yet.

Video with transparency/alpha in UMG?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    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!

    #2
    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!

    Comment


      #3
      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

      Comment


        #4
        Originally posted by localstarlight View Post
        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. What is Material Domain, how do I set it to User Interface?
        Originally posted by ZoltanJr View Post
        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
        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?

        Comment


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

          Comment


            #6
            i got success using chroma key: https://forums.unrealengine.com/deve...a-key-material

            Comment

            Working...
            X