Why my pointlight can't cast shadow?

I set the resolution to 512,but it still work nothing, the shadow still bad and a little crooked.