MSAA and draw_circle

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By Julian11029

I’m trying to draw a circle, this works!

func _draw():

But the egdes are not anti aliased, is there a way to achieve this?
I also tried

get_viewport().msaa = VisualServer.VIEWPORT_MSAA_16X

with no succes

:bust_in_silhouette: Reply From: Calinou

MSAA only operates on 3D viewports, therefore, it doesn’t anti-alias 2D lines.

There are plans to implement 2D anti-aliasing.