Save Render and Shadow Layer Separately I am trying to create a very simple product mockup using blender. I want to be able to save the actual product (cards) and the shadows as separate png files. I know this is possible, but I am just learning blender. Here is a link to the file I am working with: http://www.bestideabox.com/test.blend  

Can anyone tell me why this is not working the way I am expecting?



EDIT:

OK; I have changed the blender file to represent the chosen answer and it does work. The shadows are saved to a separate layer. However they are different than when rendered altogether. I have placed the revised blender file here: Blender File Here is all layers rendered together: All Layers. Here is each individual layer: Cards and Shadows and here is the two individual layers laid on top of each other using photoshop: Merged Layers. As you can see the shadows layer does not line up at all. Infact they are a different shape all together. I also am having trouble exporting the plane texture by itself if anyone can help with that.
The file output node has two properties that determine the file that the image is written to, the base path (in red) which is the folder to save in and the subpath (in green) which could be a filename or a folder/filename combination.



In your example file you have two file output nodes that use the same base path and subpath, the second file gets saved over the top of the first one.

You also don't need two file output nodes, you can add multiple inputs to one node that have their own subpath and optionally image type settings. This can help as it prevents two inputs using the same subpath.