How to create a shadows pass in cycles? Everytime I am doing one thing another problem comes up, and I have a deadline to follow unless there is a way to create shadows using another software (after effects)? I want to composite this thing in after effects but I cannot do something simple like a shadows pass. I followed the shadows pass tutorials but of course nothing works. Here is my node setup:





here are other settings







Is there anything I am doing wrong? 

an update to my node setup:
Here is a simple example for using Shadow pass in your case:



I personally prefer combining shadow with other passes like AO, for better result.