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 post good questions and use the site effectively 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.
Smooth out a line renderer
using OpenGl to render line works only in Editor not in web player
Drawing a direction arrow.
Need help fixing an error. Using raycast to mimic laster beam but no collider, Line Renderer, Raycast Collider.
Different materials in line renderer and antialiasing