- Home /
GL Lines not supported in Flash?
I am trying to use GL.LINES in Unity and am exporting to flash. It seems GL triangle strips can render no problem but lines do not? Is there an alternative way to render them?
I should mention that I am drawing lots of lines and I do not want perspective to affect them (hence no line renderer!)
You could try using $$anonymous$$eshTopology.Lines in Unity 4.
Answer by richard3d · Jan 06, 2013 at 03:54 PM
Unity 4 is not an option for me at the moment. Turns out line rendering is not supported by Flash due to lack of implementation in Stage3D. With this in mind, I highly doubt Meshtopology.Lines works either. The only solution was to implement my own system that rendered intersecting triangle strips. I used a little bit of math to scale the lines according to maintain constant size regardless of depth from the camera
Your answer
Follow this Question
Related Questions
Footsteps not playing on Flash Export 1 Answer
Object from flash to unity 2 Answers
Unity 4.0 Flash Export load->unload->load crash 0 Answers
HMACSHA1 in export to flash 0 Answers
GL.Line help? Cannot see line drawn... draw grid using gl.line 4 Answers