Tuesday, June 2, 2015

Unity editor line rendering

I created a new github repository for rendering lines in the Unity editor. It allows you to render dotted lines with different dot sizes & render multiple lines at the same time.
It uses the Unity GL class for line rendering (which is what Unity uses itself when rendering lines in the Unity editor). The dots are created in a shader in screen space, so they'll look good no matter how you turn the camera.