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.