Hello -
I have a script that draws a bounding box using GL. This works fine in the editor, but when I build the app, I am not seeing the lines. I draw the lines in OnPostRender() using code like this:
void OnPostRender()
{
GL.Begin(GL.LINES);
material.SetPass(0);
GL.Color(Color.white);
GL.Vertex(...);
GL.Vertex(...);
...
GL.End();
}
Can anybody tell me what I seem to be overlooking?
Thanks very much.