3D Widget Custom Shape

Hi,

I have been toying with 3D widgets, and there’s one thing that is has been nagging me: all of them are flat rectangles. Since widget component is a 3D object, there must be some way to use it as a texture on a custom mesh. How can I do this?

I’ve looked at a possibility of using render to texture, but I don’t think cameras in UE4 have culling masks, so I cannot render ONLY the widget with a given camera, which means that this approach won’t work.

So, my question is: how do I use a widget as a texture on a custom mesh?

Thank you.

Try UWidgetComponent::GetUsedMaterials(). Take that material and apply to your meshes

Checked in blueprint. doesn’t seem to work