How to cull gameobject from camera without using layers?

anyone found a solution for this problem yet ?