How to get shadows information in cycles
Ok, so  I achieved the result I wanted. Unfortunately, it's not fully procedural. What I needed to do was to bake shadow map of the plane and than I could use this information to make a final artwork.