Translucent Widgets in UMG

Hey all, so i’m trying to create a HUD for our space game, and im running into a little trouble getting my widgets to be translucent. I’m able to achieve translucency by using default widgets and changing the color and opacity, but when i try to use a custom texture, it doesn’t work at all, the texture always ends up showing as solid colors, I’ve read through the documentation and there really isn’t anything that talks about what format the custom textures used with UMG need to be, I’ve even set the texture properties the way it is described in the documentation, but still my custom textures always end up looking horribly blocky and ugly to look at when displayed in the viewport. Any help in this matter would be greatly appreciated!!

Okay small update i jsut realized that translucensy doesn’t work at all in UMG for me, i’ve tried cahnging the color and opacit ysettings in the “Style” tab, but it has no effect. Is this a bug, or am i suppose to be doing something else?

There are a couple places where you can change the opacity or alpha, you may be in the wrong one, or you may need to be setting these on the parent.

Try to create a very very basic UMG Widget with a single WHITE border widget in it. Set that border-widgets opacity to 0.5 and show us a screenshot of how it looks. If that works, then it probably has something to do with your texture. Try it out and let me know :slight_smile:

i fully agree, that styling is a case for itself and it keeps giving you a headache, fortunately epic mentioned to change the style system like it is now. Unfortunately i dont think this will be in the next update.

Question: do you use the image as a Slatebrush?

Maybe instead of messing inside UMG with coloring, you can do it inside your texture/material asset, which i prefer to do.

When i do custom widgets i always have the problem that the settings inside its parent are not working like intended. So i provide variables inside my custom widget f.e. a "Widget"Style variable.

This results that i can modify all the things i want, but im unable to see the changes inside the Designer tab. So i need to play the game in order to see the result.

Oops i forgot to close this thread when i found out the solution. The editor was actually doing its job, it was my brain that derped, the lack of translucency was because the HUD widget was being created every Tick. So it was pretty much stacking like 100 widgets on top of each other the moment the game started. But i do appreciate yall chipping in :slight_smile:

1 Like