Hi
I recently found the GL shader with the GL.LINES option. Works great, but I can’t seem to replace old lines. The only way I get the screen to clear is by not drawing anything and that flickers. So imagine two spheres connected by a line, no problem. Now I want the spheres to move and the line to follow, the way I do it:
Lines just start to fill the whole screen because new lines are added each frame, instead of being replaced.
The .Clear() and .ClearWithCamera() don’t seem to do the trick either.
Any help appreciated.