Im using OpenGL picking with selection buffer.
It seems to work fine until i enable face culling with:
If it's enabled then it messes up the picking completely. I mean, it returns almost random names.
Im using it to figure out on which side user clicked on simple cube.
Face culling is a MUST HAVE in my project.
So is there some magic OpenGL command that resolves this problem?
EDIT: OK i can review my vertex order when drawing cube to actually make the culling by hand and disable opengl face culling completely when drawing the box but anyway...
Is there a better way?