Cut out circle (transparent) of image

Hi,

for tutorial in my game i’m thinking of using the same effect that google uses on their youtube app. Which is basically a black image over the whole screen with a circle cut out (100% transparent circle) where you are supposed to click.
But creating 20 images with circles on different positions would be very inefficient and would take alot of space.
Is there a way to achieve such an effect here, visually? And only register clicks in those circles (so they can’t click other buttons in the interface.

Just an example image:


link: http://s29.postimg.org/avlmhrvd3/tutorial_forum.png

It’ll save you a lot of time and effort if you just make a transparent black texture twice the size of your screen and have a circle cut out in the middle, but if you must do it the proper way, you’re going to want to look at the graphics technique “stenciling” Unity - Manual: ShaderLab command: Stencil

1 Like

Good idea, thank you man