Login  Register

Re: Using setNumSamples() doesn't work

Posted by Sven Gothel on Nov 25, 2010; 12:25pm
URL: https://forum.jogamp.org/Using-setNumSamples-doesn-t-work-tp1427769p1966675.html

On Saturday, October 09, 2010 01:25:34 Demoscene Passivist [via jogamp] wrote:
>
> While Sven hopefully works on the resolution of JOGL2 bug 410 "Multisampling
> doesn't work at all"
Solved.

> 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

how about performance ?

Quality indeed, have seen the result of our little multisampling demo
on NV and AMD, the latter resulted in false colors.

> 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
> http://copypastaresearch.tumblr.com/post/1270735985/while-experimenting-with-glsl-based-fsaa-aka
> implementation .

looks like a glsl toolbox candidate.

~Sven