AntialiasedLine2D
The AntialiasedLine2D add-on for Godot 4.x provides higher-quality antialiased Line2D and Polygon2D drawing compared to Godot's default implementation. It features helper nodes for drawing circles and regular polygons easily, supporting various platforms and renderers.
https://github.com/godot-extended-libraries/godot-antialiased-line2dPreview Image

Enhanced 2D Graphics with AntialiasedLine2D for Godot 4
The AntialiasedLine2D add-on offers a superior solution for drawing antialiased lines and polygons in Godot Engine. It improves upon the default Godot implementation, providing smoother and more visually appealing graphics for your 2D games and applications.
Key Features
- High-Quality Antialiasing: Delivers improved antialiasing for Line2D and Polygon2D nodes, resulting in cleaner and more refined visuals.
- Versatile Line Customization: Supports opaque and translucent lines with various joint and cap types. Allows lines of any width, constant or variable.
- Polygon and Circle Helpers: Includes AntialiasedPolygon2D and AntialiasedRegularPolygon2D nodes for easy drawing of antialiased polygons and circles.
- Broad Compatibility: Works seamlessly with GLES3 and GLES2 renderers across desktop, Android, iOS, and HTML5 platforms.
- Optimized Performance: Utilizes a single 256x256 custom texture for high performance, even with multiple Line2D instances.
Installation and Usage
The add-on can be easily installed via the Godot Asset Library or manually by cloning the Git repository. After enabling the plugin in Project Settings, you can add AntialiasedLine2D, AntialiasedPolygon2D, or AntialiasedRegularPolygon2D nodes to your scene. Existing Line2D and Polygon2D nodes can be converted to use the antialiased versions with a simple right-click in the scene tree.
To further enhance rendering quality, it's recommended to set the Anisotropic Filtering Level project setting to 16x.