Re: multi-samping causes ghosting effect
Posted by
nicovink on
Aug 13, 2018; 10:43pm
URL: https://forum.jogamp.org/multi-samping-causes-ghosting-effect-tp4039104p4039115.html
Thanks for the pointers. I tried upgrading to 2.3.2, making only the necessary changes to compile (import statements, setSurfaceWidth instead of setWidth). The ghosting issue still occurred, but worse than that is that MSAA seems to have stopped working (at least for items that are farther away).
In the hopes that pictures help, here is the ghosting effect using 2.1.5:

and here is both the ghosting effect, and the lack of anti-aliasing, using 2.3.2:

I'm using GL3 and GLJPanel. I will try your other hints to see if I can find out more. In the meantime, does the change in MSAA ring a bell? I looked through the change logs, but couldn't find any indication that I should be doing anything different. I did try adding "gl3.glEnable(GL3.GL_MULTISAMPLE);" but without success.