Quantcast
Channel: Questions in topic: "build"
Viewing all articles
Browse latest Browse all 4084

Why do GL lines not show in build mode

$
0
0
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.

Viewing all articles
Browse latest Browse all 4084

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>