Stylish shadow / Patterned shadow

I have a spot light and a cube in my scene. The shadow of the cube is normal. I need to add a pattern or texture to the cube shadow. I can change the color of the shadow but I can not assign a texture or a pattern to the shadow. Is there any way to solve this problem? Can I solve this problem with shader?

I have found a way.

http://forum.unity3d.com/threads/colored-shadows-the-incredible-colored-shadows.260508/