- Home /
Masked Advanced Minimap
Hi there,
Im working on my mmo and im up to making a minimap. I have one already, but would like to customize it. (basically atm it is only a camera (orthographic) above the player and the camera's view port rect set to small, and in the corner - very basic).
So I would like to make it circular.. like this:
Is there a way to mask it as a circle?
Or if I had a circular GUI texture (on a GUI box).. like this:
and then render the camera's view onto the non transparent part (green)?
Regards Nick
Any code snippets given - preferably in C# ;)
Answer by Dracorat · Jul 27, 2014 at 04:56 PM
Here is a tutorial on how to use the cutoff shader for a health bar.
You use it the same way with a circular graphic to achieve a round minimap.
http://answers.unity3d.com/questions/14770/creating-a-circular-progressbar-timer.html
thanks, but that works for pro only because it requires Render Textures.. :/ I just want the camera view to be masked as a circle..
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Illuminating a 3D object's edges OnMouseOver (script in c#)? 1 Answer
Create UI Mask from Childrens images 2 Answers
Override avatar mask in layer 1 Answer