How to render primitives in wireframe in Open Gl ES
Question
I can see how to render wireframe primitives in open gl. By using glPolygonMode, however this call seems to be missing from Open GL ES.
Does anyone know how to render primitives in wireframe on Open GL ES?
Thanks Rich
Solution
It not possible to render wireframe in OpenGL ES. You can draw using lines/line strip instead of triangles but some of the lines will be lost. It's not real wireframe but it can help you see some problems. In OpenGL(not ES) you can change the way polygons are rendered using glPolygonMode, but this is not supported in OpenGL ES
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow