How to create a circular sprite? (Fb profile pic)

Hi guys,

I’m tying to make a circular facebook profile picture. The user logs in and his picture will be displayed top left.

I have tried using alpha shaders, quads, cutouts and having no luck.

What is the simplest way to go about doing this? (I also have ngui but no luck).

Thank you,

You can use a UI Mask in the new Unity GUI system to easily accomplish this. Just create a circular image mask, then apply it to your profile picture UI elements.


I need an aswer for this too. Because UI Mask is not working on some Samsung and other phones.

As per this forum thread, you can create a custom shader. Then select that shader in your material, set the texture and adjust the settings. Then use that material in your sprite.