Enabling sampleBuffers ruins unique color selection.
Posted by d0lph1n on Feb 05, 2014; 12:45pm
URL: https://forum.jogamp.org/Enabling-sampleBuffers-ruins-unique-color-selection-tp4031453.html
Hi and thank you for taking time to read this.
I'm using unique color selection for my objects and it works perfectly, until I enabled caps.setSampleBuffers(true);
It seems like enabling antialiasing blends the colors I draw to the back buffer so that some clicks returns more objects than the one clicked.
I really like the nice antialiasing i get for free enabling the samplebuffers in GLCapabilities, is there a way to disable antialiasing when drawing to the backbuffer and then re-enabling it when drawing the scene?