Announcement

Collapse
No announcement yet.

How to use retainer box for UMG to texture?

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

    How to use retainer box for UMG to texture?

    Can't get this to work. I've got a tv screen type object with a render target displayed on it - it works well - but I want to add an overlay layer from UMG to this texture.

    Retainer box should render a UMG element to a texture buffer which I can overlay onto my other material but I can't seem to set it up in terms of enabling it and getting the texture.

    Can anyone tell me the setup? I can choose my texture in the retainer box settings in UMG, although i'm using a material instance on my screen - also, how do you make the element render if it's not on screen?

    Thanks in advance.

    #2
    That's not the purpose of the retainer. If you just want to render widgets to a texture use the FWidgetRenderer.

    Comment


      #3
      Thanks Nick, is that a c++ method or can I get to it through blueprints?

      Cheers.

      Comment


        #4
        C++, no blueprint exposed way at this time.

        -Nick

        Comment


          #5
          A workaround i am using is to create a 3d widget as given in this tutorial:

          https://docs.unrealengine.com/latest...eate3DWidgets/

          Instead of texturing the original object I add a widget actor component to my actor and place it where the texture should be.

          Comment


            #6
            Originally posted by Nick Darnell View Post
            C++, no blueprint exposed way at this time.

            -Nick
            So after 2 years, do we have a way to render umg to texture with blueprints?

            Comment


              #7
              I would like to have updates on that too.
              Also the last link seems to be dead ?

              Comment

              Working...
              X