Did you end up doing any sort of low-pass filter / dx/dy network + smoothstep implementation to “anti-alias” the outline?
l’ve messed around with bits and pieces of your code and other outline shader implementations but they always fall apart when it comes to aliasing. And using TAA makes the lines look like hot garbage.