PDA

View Full Version : glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) with GS?



xernobyl
02-14-2011, 08:31 AM
Does glPolygonMode(GL_FRONT_AND_BACK, GL_LINE) works with geometry shaders? It doesn't work here. Maybe it's something else, as always.

Note that the Geometry Shader is outputing triangles. I can change the GS to output lines, but it wouldn't be the same :D