Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

So to create this effect I have an alpha texture, and where you tap the screen it sets the pixels on the texture to zero alpha.
Then I have a shader which multiplies the alpha texture by the alpha of the foggy window texture and that's applied to the sprite renderer.
I hope that makes sense!

thanks for the explanation