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 user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
2 People are following this question.
How to draw a line in unity3d
How to check of a line renderer collides with ground ?
Line Renderer Ilumination
how to render 3d line on top everything else in the scene?
Rendering a smooth polygon like a vector drawing (antialias maybe?)