Login  Register

RE: Using setNumSamples() doesn't work

Posted by Qu0ll on Nov 25, 2010; 9:24am
URL: https://forum.jogamp.org/Using-setNumSamples-doesn-t-work-tp1427769p1965832.html

Hi,

 

Sorry it has taken me so long to get back to you and thanks for the information, it looks like an interesting technique.  I'll see if I can get some use out of it!

 

Cheers,

 

John

 

From: Demoscene Passivist [via jogamp] [mailto:[hidden email]]
Sent: Saturday, 9 October 2010 10:26
To: Qu0ll
Subject: Re: Using setNumSamples() doesn't work

 

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.


View message @ http://jogamp.762907.n3.nabble.com/Using-setNumSamples-doesn-t-work-tp1427769p1668277.html
To unsubscribe from Using setNumSamples() doesn't work, click here.