diff --git a/CHANGELOG.md b/CHANGELOG.md index ae88a41..f98f6d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.2.0] - 2024-06-26 + +### Changed + +- Updated add-on for Godot 4.2.2. +- Anisotropic filtering is now used to improve quality. + - To ensure the best possible quality, it's recommended to set the + **Anisotropic Filtering Level** project setting to 16× (default is 4×). + ### Fixed - [Fix AntialiasedPolygon2D and AntialiasedRegularPolygon2D setters not working.](https://github.com/godot-extended-libraries/godot-antialiased-line2d/issues/6) @@ -34,6 +43,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Initial versioned release. -[Unreleased]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/v1.1.1...HEAD -[1.1.1]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/v1.1.0...v1.1.1 -[1.1.0]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/v1.0.0...v1.1.0 +[Unreleased]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/v1.2.0...HEAD +[1.2.0]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/1.1.1...v1.2.0 +[1.1.1]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/v1.1.0...1.1.1 +[1.1.0]: https://github.com/godot-extended-libraries/godot-antialiased-line2d/compare/1.0.0...v1.1.0 diff --git a/LICENSE.md b/LICENSE.md index c8b64be..30d29c0 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -1,6 +1,6 @@ # MIT License -Copyright © 2022 Hugo Locurcio and contributors +Copyright © 2022-present Hugo Locurcio and contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/README.md b/README.md index 02f873a..198cdda 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Antialiased Line2D add-on for Godot 3.x +# Antialiased Line2D add-on for Godot 4.x ![Screenshot](https://raw.githubusercontent.com/Calinou/media/master/godot-antialiased-line2d-demo/screenshot.png) @@ -84,6 +84,11 @@ if you do not have Git installed. ## Usage +> [!TIP] +> +> To improve rendering quality, set the **Anisotropic Filtering Level** project setting +> to 16× (instead of the default 4×). This particularly helps for narrow or curved lines. + ### Lines - After enabling the plugin, add an *AntialiasedLine2D* node to your scene tree dock. @@ -116,9 +121,6 @@ or reloading the scene in the editor. property to be the same color as the Polygon2D's fill color. That's all there is to it :slightly_smiling_face: -**Note:** Do not enable the Line2D or Polygon2D built-in **Antialiased** property, -as it is unnecessary with this add-on; it will only worsen the antialiasing quality. - ## How it works behind the scenes 1. A texture with custom mipmaps is procedurally generated in GDScript to handle @@ -136,7 +138,7 @@ as it is unnecessary with this add-on; it will only worsen the antialiasing qual ## License -Copyright © 2022 Hugo Locurcio and contributors +Copyright © 2022-present Hugo Locurcio and contributors Unless otherwise specified, files in this repository are licensed under the MIT license. See [LICENSE.md](LICENSE.md) for more information. diff --git a/addons/antialiased_line2d/plugin.cfg b/addons/antialiased_line2d/plugin.cfg index f366e6c..28f204e 100644 --- a/addons/antialiased_line2d/plugin.cfg +++ b/addons/antialiased_line2d/plugin.cfg @@ -1,7 +1,7 @@ [plugin] name="Antialiased Line2D" -description="Antialiased Line2D for any line width (supports GLES3 and GLES2)" +description="Antialiased Line2D and Polygon2D for any line width (supports all rendering methods)" author="Calinou" -version="1.1.1" +version="1.2.0" script="plugin.gd"