Translucent glass material receiving shadows disappear when camera is too close.

My translucent glass material is receiving shadows ,but they disappear when camera is too close. In fact they turn boxy before they do… why? How can i fix this?