Are polygons, lines etc. antialiased in 2D?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By lukas
:warning: Old Version Published before Godot 3 was released.

It seem to me that edges of Polygon2D (both with or without a textute), lines (draw_line) etc. are not antialiased. Is that true? If so, is there a way how to turn antialiasing on?

:bust_in_silhouette: Reply From: Calinou

There is currently no 2D anti-aliasing available. However, if you force MSAA in your graphics driver settings, it might occasionally work, for both 2D and 3D games. But currently, there’s no way to make sure everyone has anti-aliased 2D (or even have a toggle-able option in the project).

This might land in Godot 3.0, with the 3D rewrite.