I need to solve the following problem: do some anti-aliasing onto an image that contains rasterized "lines".
I have some post-processing effects that output super-thin (~1px) features such as silhouette-edges and outlines as shown here:
I tried with an FXAA shader I found online, which works fine if the line is at least 2px wide, doesn't work with 1px lines. I guess the edge detection method completely breaks with such thin features (also the common optimization to sample at the boundary of the edge won't work with lines).
How should I address this issue?
Is there a technique out there specifically designed to solve this problem?
