Hello,
I’m not sure I understand your problem but I post because you’ve got no answer. settings.numSamples = 4 enable the multisampling, isn’t it ? That’s why your first triangle is good. settings.numSamples = 0 disable the multisampling.
Thank you very much for your reply. What I mean is that the multi-sampling is opened in time, and there are still some jagged edges of the triangle. Is there any way to completely eliminate the jagged edges
I think that will be as good as it gets with that drawing approach.
You might find rendering to a higher resolution ofFbo with numSamples = 4 and then drawing the fbo at a lower resolution might look better.
For what it is worth this is what I get with this code ( based on emptyExample with no changes in main.cpp ):