Set Alpha cutoff Unity3d

Hello everyone ,

I have outer image :

18960-arrowouter.gif

This image i have set to plane gameobject. and material setting is transparent/vertexlit

And the image will be as background for that i want to set cutoff is here :

18961-arrow.png

This image also i have set to plane gameobject and material setting is transparent/cutout/vertexlit

but problem is that cutout is behaving on whole area of image.
i want cutout should start from left or right.

so what should i do?

I have taken reference from http://answers.unity3d.com/questions/14770/creating-a-circular-progressbar-timer.html

but some how its not working. Please help me guys. Thanks.

1 Answer

1

You need to do what it says on that page and make an alpha gradient. Your arrow texture has no alpha gradient, it’s just transparent.

ok. thanks. its working now.

can you please help me to set cutoff like if mouse position is near to screen boundary then it should fill ? as its working only for left side of the screen.