# Different render per layers? [duplicate]

I have like 15 Layers, and a other one with light. I need to render the 15 layers separate but still keeping the light from the apart layer. And i need to leave the computer rendering in the weekend doing the full work, how can i render different 15 layers on different 15 folders?

edit: I'm using Cycles.

Thanks in regards.

## marked as duplicate by p2or, Ray Mairlot, iKlsR♦Jan 9 '15 at 19:17

• Use different render layers, output them to a multi layer EXR and them separate them into individual files, if needed. – someonewithpc Jan 9 '15 at 16:54
• How can i do that? those are really new things for me :/ – beavoru Jan 9 '15 at 16:59
• You can use Tlousky's production script to render seperate files - the script also creates the folders and layers automatically. See my answer here: blender.stackexchange.com/questions/16152/… – p2or Jan 9 '15 at 17:54

I going to assume that you really mean 15 layers (objects in separate blender viewport layers) and not referring to render passes (Z, Vector, Normal). +someonewithpc is correct, but I thought I would expand and clarify the answer.

Here's what you need to do. I'm going to assume that you will want multiple render passes per render layer, since it's the more complicated solution. If not, it will be a little simpler.

View the image in a new window to see it full resolution.

1. Set your output file format to OpenEXR MultiLayer in the the render output panel.

2. In the Render Layers panel, setup a render layer for each of the viewport layers you want to render. Select the output render passes you need for each render layer (Z, normal, etc)

3. In the compositor, Add a Render Layer node for each render layer you setup.

4. Create a File Output node for each corresponding Render Layer node. In the property panel on the right, you will need to manually add additional output layers in the file output node (Z, alpha, etc). You can do this because you set the output file to OpenEXR Multilayer previously.

5. Hook up the matching input/outputs between each render layer node and file output node. You'll also have to enter the output Path in each file output node. It's good to choose a separate folder to keep each Render Layer frame set separated.

6. Make sure that the Compositing checkbox is checked in the Post Processing panel in the Render Property section.

7. Render the animation. You should end up with one folder per layer with 1 EXR file per frame rendered. In each EXR file you will have the render passes selected (Z, normal, alpha, etc.)

8. You can use the EXR files for further compositing in Blender or another external compositing app.

Note: The main render image (whatever is piped to the composite node in the compositor will still be rendered and written out. I believe you still need to have this hooked up for the rest of the process to work properly (I haven't tested this recently but know it worked like that in the past).

• Dammit; I was writing it, in my phone... – someonewithpc Jan 9 '15 at 17:33

This can be easily achieved by using different RenderLayers, and then outputting the different layers into one Multilayer EXR file; this file can then be opened to separate the different layers into separate files.

To do this, open the Properties panel, switch to the RenderLayers tab and add however many Render Lawyers you need, each with the adequate Scene Layers selected.

Then switch to the Compositor, by pressing Shift + Left Arrow, or by using the layout selector in the header. Then add the same amount of Render Later nodes as you have RenderLayers. After that add a File Output node; with it selected, open the Properties panel (press N) and in the Properties subsection select the output format EXR Multilayer, and bellow click the Add layer button. You can name the layers of you want. Then simply connect all Render Lawyers to the output node and your ready to render.