Shadow pass + shadowless pass


I would like to have full control of my shadows in post.

I managed to make a working shadow pass in cycles which contains only the shadow. But how do I make another pass in which the object that the shadow is cast on has no shadow? In other words, how do I make a shadowless pass in cycles?

A shadowless pass would just be all of the other combined passes minus shadow.

Thank’s for the reply! How do you do that in practice?

Does anyone know how to subtract the shadow like suggested above? I tried to play around with the math node, but that didn’t result in anything sensible…

No need to subtract. Just enable all of the AOV passes in the Layers panel and then combine everything in the compositor as explained on the AOV wiki except for multiplying the shadow pass in.

Here are good tutorial that explain about shadow passes.