I have a depth fade shader that turns the player character a different color when walls overlap him. Is there any way I could have it turn him into a similar color to the one that’s overlapping him? An example is this screenshot from Hyper Light Drifter
It’s a little tough to see, but his legs and lower body are a very similar pink to the building he’s hiding behind. Is there a way to do this?
Here’s my current material setup