How can I make a scratch card type of effect in unity

Hello guys, I am developing a fashion design type of game. and I want a scratch type of effect in unity. Can any one tell me about how I can achieve this type of effect.
I don’t know anything about how to do it.
I search a lot on internet but can’t find any solution. So I am here to ask you question.

any kind of help would be appreciated.
Thanks in Advance


If I understand correctly, the effect you are trying to achieve can be done using a photo editor (Photoshop, GIMP, Inkscape). This sort of effect uses an images’ alphachannel to create it. I’ll leave up a tutorial I found for the effect:

Scratch Card Effect

The way I would tackle the problem would be to set up an image in a quad primitive and attach a script called ScratchCardEffect
to the image I want the effect applied to. The script would put a gray image on top of the original image that gets ‘Scratched’ as the alphachannel value decreases, thus revealing the image behind.

I hope this helps you a bit at least!

Good luck :slight_smile:

PS: If you are trying to do an interactive scratch effect, then that is much more difficult.