Object Picking

I have a number of objects in scene, and only a number of them (spheres) are objects that can be picked by the mouse. However, I also have a skybox, a simple quad cuboid that surrounds all these objects/spheres. BUT, if I try and select any of these objects with the mouse, the picker can only see the skybox, and returns that ID. Is there a way to draw the skybox such that it’s ignored by any depth/object picking functions?
Hope that’s explained clear enough …

Hi !

When you do the picking, don’t render the objects that shouldn’t be pickable.

Mikael