MSAA breaks post process material that compares scene depth and custom depth

https://

That was how I solved it. It’s not as accurate, but for my needs it didn’t need to be.