I’m trying to draw a lot of lines in URP/VR in Unity 2020… Has anyone had any luck drawing GL.Lines in VR? I’m using single pass stereo instanced (Oculus). I’m having trouble getting them to show up in both eyes and have the correct matrix transformation. Any help is much appreciated!
well that was a ridiculous rabbit hole I just went down, trying to draw the lines in VR using .endCameraRendering… ended up moving the drawing to OnRenderObject() and it all works perfectly.
2 Likes
Thanks you for this Black Magic tip!
I have been struggling with this for the last 2 hours until I found this.