- Home /
GL.LINES disappear if distance z > 1
Hey!
I would like to scroll away from my drawings. But if I scroll backwards away to get stuff smaller it disappears!
That's the GL. "Path" that is storing all my stuff at runtime.
GL.PushMatrix ();
mat.SetPass (0);
GL.LoadOrtho();
GL.Begin (GL.LINES);
//saved world coordinates will be inversed to screen coordinates
GL.Vertex (transform.InverseTransformPoint(startvertex[i]));
GL.Vertex (transform.InverseTransformPoint(endvertex[e]));
GL.End ();
GL.PopMatrix ();
I hope you can help me! Thanks! :D
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613201221im_/https://answers.unity.com/themes/thub/images/avi.jpg)