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:

29860-minimap2.png

Is there a way to mask it as a circle?

Or if I had a circular GUI texture (on a GUI box)… like this:

29861-minimap1.png

and then render the camera’s view onto the non transparent part (green)?

Regards
Nick

Any code snippets given - preferably in C# :wink:

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.