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,
Answer by zzzzzz789 · Nov 12, 2015 at 06:04 PM
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.
http://docs.unity3d.com/Manual/script-Mask.html
Tutorial: https://unity3d.com/learn/tutorials/modules/beginner/ui/ui-mask
Answer by sench93 · Aug 01, 2016 at 08:06 AM
I need an aswer for this too. Because UI Mask is not working on some Samsung and other phones.