-
-
Notifications
You must be signed in to change notification settings - Fork 21k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add antialiased parameter to canvas_item_add_triangle_array #10645
Add antialiased parameter to canvas_item_add_triangle_array #10645
Conversation
duplicate of: #10523 are the other things you do. necessary? It also works without but maybe they are still needed? |
@toger5 I think things are necessary to build on windows. |
okay so we merge this one than... |
Is there any reason to have AA option for triangle array, current AA method (drawing outline with AA lines) is designed for polygons only and will not work for triangle arrays anyway. |
This PR seems to also fix the ugly editor border issues #10461 |
It definitely does! |
Doesn't work well for closed outlines where drawing is done with triangle array in Godot 3.2, see discussion in: godotengine/godot#10645 Seems to work better for line drawing.
Doesn't work well for closed outlines where drawing is done with triangle array in Godot 3.2, see discussion in: godotengine/godot#10645 Seems to work better for line drawing.
The
canvas_item_add_triangle_array
use polygon item to draw but it is antilaiased as default so I add this option to make it is possiable to draw triangle arrays without antilaiased.Bugsquad edit: Fixes #10461.