How can I make a 2D Material into a circle?

I have a 2D image that is a square and I want to make it into a circle.

Hi.

It depends what you are trying to do, but the easiest way to make a circle from a square is to use a mask like this and lerp the texture. If you need it to be transparent (like UMG for example) then plug the mask into the opacity.

Hope this helps, Tom.

126919-circle.png

Could you provide a visual example?

Sure. It would look something like this.

You’ll also want to change the material settings to masked if you want it transparent. If you don’t, you can delete the “1-x” and plug a different texture into B of the Lerp.

127011-masked.png

2 Likes

Thank you so much, Tom!