How does Unity draw the lines in Gizmos.DrawLine? I am curious because I am trying to draw a set of lines with antialiasing, and have failed repeatedly, and keep staring and the Gizmo line that presents great AA by default.
I have tried OpenGL, LineRenderer and the GraphicsRenderer, and have failed to reproduce the effect that the Gizmo line offers.
Any help is welcome!
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
2 People are following this question.
Line Collision Detection for 2D Game
Converting world point to screen point
how to render line between gui element and mouse position
Update LineRenderer every frame (Delete Old Lines)
Line Renderer Setup