Skip to main content

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

thank you sm for the feedback!! :)

if you're interested in the details, i basically used unity's hlsl code in the .shader file to perform a "GrabPass" and basically retrieve the color values of a specific pixel (so in this case invert the colours). the one i ended up using is a modified version of the code found here.

(1 edit)

Thank you very much for your sharing; I found it very beneficial, so I will do my best to understand the code involved. Since I'm not very skilled at writing Shader programs, I used the Pixel Perfect Camera component and the Sprite Mask component to achieve a similar effect. You might want to give it a try too!