I have geometry (or fallback vertex only) shader, that generates lines with custom width and pass float uniform into shader.
For lines that are more than 1px thick, it works great. But if I want to draw nonantialliased line with 1px width, it looks ugly, especialy when line is not perpendicular to screen.
Any options ?
Problem is that I have only one definition of some geometry and wants to draw it with different line widths many times