Here is a sample of the effect I made when writing this.

1, I used an alpha channel to save the mask.
2, I used a textured fill.
3, After I converted the text back into a movable object, I used the alpha channel mask to create the shadow by filling it with grey and apply gaussian blur.