OpenGL Multisampling Lines

Is there a way to use multisampling only for lines drawn with OpenGL, and not with the whole program? Thanks in advance!

+3
source share
2 answers

Try including smoothed lines with glEnable(GL_LINE_SMOOTH), plus you can also add glHint(GL_LINE_SMOOTH_HINT, GL_NICEST). They can get what you want, even if it's not true, a multisampled picture.

+4
source

Not if you cannot draw all the lines into another buffer, and then combine this buffer with the main drawing.

+1
source

Source: https://habr.com/ru/post/1759449/


All Articles