Is there a way to just use multisampling on just lines drawn with OpenGL and not with the entire program? Thanks in advance!
+1
A:
No, unless you can draw all lines into another buffer and then combine this buffer with your main drawing.
Matias Valdenegro
2010-08-13 03:30:34
+3
A:
Try to enable anti-aliased lines with glEnable(GL_LINE_SMOOTH)
, plus you can also add a glHint(GL_LINE_SMOOTH_HINT, GL_NICEST)
. These might get you what you want even it's not true multisampled drawing.
epatel
2010-08-13 03:34:49
while this will anti-alias the lines, it will not multisample them. But I'm betting this is really what Matt wants.
Bahbar
2010-08-13 07:31:07
Yeah, GL_LINE_SMOOTH is not really multisampling.
Matias Valdenegro
2010-08-13 11:37:45