There's some addons that let you do that - or you could on creation of the object, spawn a shadow object on a different layer and pin it to the main object.