Is it possible? Currently I generate a trimesh_shape from my mesh so that I can ray cast the objects on screen and selected them. I don't really need the collision shapes for anything else and they are usually updated in real-time when the user changes the mesh. So it has the potential to be rather slow in some cases.
Is there a way get the object the mouse is over without using collision shapes? I know some 3D editors use some technique that utilises shaders - not sure how exactly but I think the fragment shaders sets a unique flat pixel color at every pixel the object is visible to another texture buffer, and then the user can sample the resulting texture and get the object that set that color.
Any ideas?