Okay, I put some sort of shatter together. I must be pretty bored
Anyway, this is what I was able to do.
First, you have to mask your own shattered pieces (I didn't do the whole screen cuz I'm impatient).
Then animate the shattering by keyframing the movement. Move every piece to where you want it to end up when it shatters.
Then change the compositing mode (blending mode) to "3D Source Alpha"
Then keyframe the perspective view (camera position) by using 'track motion'. This way you can give your shatter a 3D look.
So that's what I came up with. Hope the screen shots make it understandable.
Just realized something cool.
Before doing the 'track motion', duplicate the track and then put the 3D track motion to one and leave the other track how it is. It makes a more dynamic look.
Wheww. Okay, I'm done. Hope that helps XD