I was afraid that you would ask :)
The workflow goes like this:
- The combined pass is the only one for which you can directly set a file name in the output tab. You also must have a default pass so the combined is a good example but you could use it to render directly the Color/Diffuse pass. Up to you.
- If you need to create a separate pass, for example for the shadows, you need to create a new render layer in the "Render Layer" tab.
First rename the default layer, which is called "1 RenderLayer" something like "Combined" or "Color".
Drop down the list of render layers and select "ADD NEW".
Rename the new render layer "Shadow"
In that "Shadow" layer deselct "Solid, Halo" etc. and select only the shadow pass.
- Now open a Node Editor window. You will need to use Blender's compositor for the multipass.
In the Node Editor click on the button with the little face, it activates the Compositor
- Make the "Use Node" button active if it's not already
- Press "Home" to see the default Noddles and nodes. It should show a network of a render layer node, defaulting to the first layer, connected to a "Composite" output layer. Leave them alone.
- Press Shift-A, select Add/Input/Render Layers
- In the newly created node drop down the list of the layer names and select "Shadow". Now the output sockets of the node should show Image, Alpha and Shadow.
- Shift-A and select Add/Output/File Output. The new node shoudl be already connected. If not Drag a noodle from the Image socket of the Shadow Layer node, to the image input socket of the File Output node.
- In the File Output node set the file format to PNG and to a location of your choice, possibly a separate directory.
- Go back to the output tab and, below the "Anim" button, find the "Do Composite" button. That tells Blender to go through the Compositor whenever it renders a frame. That in turn will pass the action to each of the Render Layer node and that in turn will output the shadow pass via the File Output node.
- Click on the "Anim" button and Blender will render all the layer per each frame.
- Collect the files and start compositing.
Hope this helps.
--
Paolo Ciccone
Pret-A-3D
http://www.preta3d.com
http://www.paolociccone.com