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.
Drawing 2d line from a point on an object!
How to draw a line in unity3d
How to check of a line renderer collides with ground ?
Line Renderer Ilumination
Draw Puzzle Lines Like Hitman Go Game