Login  Register

Re: Using setNumSamples() doesn't work

Posted by Demoscene Passivist on Oct 08, 2010; 11:25pm
URL: https://forum.jogamp.org/Using-setNumSamples-doesn-t-work-tp1427769p1668277.html

While Sven hopefully works on the resolution of JOGL2 bug 410 "Multisampling doesn't work at all" I developed a quite simple workaround in the meantime by implementing a couple of utility methods that dynamically generate a "super sampling" GLSL fragment shader. Combined with rendering ur output to an oversampled FBO and then downsampling it with the generated shader u get FSAA that easily surpasses native MSAA in quality and ofcourse works with the current JOGL2 build .

So if u haven't worked around this issue by urself until now u may be interested in taking a look at my little implementation.