Hey im new to all the after effects stuff but after playing around a bit I would think that if you created a shatter mask and used a particle system like trapcode form then you set the particules to sample the shape of the shatter then might be able to achieve it? Just an idea.