Right now I have a minimap that I’ve drawn on the HUD with DrawTexture, which displays it as a square given the width-height dimensions. It also rotates, so it looks like spinning square depending on the player’s movements. However, I want to place a circular border around the minimap, so that the minimap and its rotations are contained within that bordering, and the outside of the bordering should be transparent to the gameplay.
Hi ,
You will want to create a texture mask to mask out the outside of the border while leaving the border and the inner contents in tact. For more information on location based opacity, have a look here: A new, community-hosted Unreal Engine Wiki - Announcements - Epic Developer Community Forums so you can get an idea for how to do this.
Hi , thanks for the link! I have a better idea of how to do it now but I’m still not sure how I can mask it out in the hud blueprints. I can’t attach the mask to the map texture itself because i am only showing a portion of it, dynamically, so I will need an overlaying mask. It doesn’t really make much sense to me at the same time, because I need a transparent bordering mask to overlay the map, which will show the map under it…
Thanks everyone! got it working perfectly with Eric’s BP and then just modified that to my preferences like _eni did but with my own values.
Hi,
you could use this asset I’ve found on the store to create rounded borders (also complete circular) around your minimap texture!
Bye


