Given this input, I want to extend the edges to cover more than one pixel and antialias the edges.
My first attempt was to pass a morphological dilation followed by a gaussian filter. But that straight up did not work, all i got is for the image to look blurry.
I instead tried combining both effects into a single shader and go the following:
This is decent, but you can still see a lot of the original aliasing of the edges.
Assuming that I only have the input image, are there any image based / screen space based AA techniques I can use to make the edges look smooth?