Hi.
Here is an exemple : I use a tree ( not rendered by camera ) to make shadow. And I'll place a real tree after in Photoshop.
Here is some passes I use to make some adjustments in PS.
Why my tree is visible in the "RENDER LAYER ID" pass ???
I need to re-render RENDER LAYER ID pass with the tree HIDDEN.