Line anti-aliasing at long distances
I'm working on a space game and using Shapes to generate the UI. At close distances the lines look amazing, but at longer distances, depending on the angle of the camera, the lines become very jagged. The lines are generated using immediate mode with GPU instancing, polyline density of 128 and bezier curve accuracy of 2. I've followed all the guidelines in the documentation and I'm using SMAA 8x, output precision float 4, high local AA quality and high quad interpolation quality. The lines are volumetric3d and 1px in thickness.
Ideally, I would like the lines to render without jagged edges or as close to smooth lines as possible. Any recommendations or advice would be greatly appreciated. A video is attached below as a sample.