Can anyone tell me how to render an image (tiff) with two different layers, one for background (need it white) and one for the rest of the render (just freestyle lines). I am using Blender 2.8
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.Sign up to join this community
As far as my understanding goes, Blender isn't capable of creating multilayered TIFFs.
However, you could use other software to acchieve that.
In Output Properties you would specify the file format "TIFF".
Any file format that supports transparency (and can be converted by ImageMagick) should be fine.
Since Blender 2.83 there is an option to set Freestyle as a render pass in View Layer Properties.
In the compositor, Freestyle can then be processed separately.
In case you have multiple layers that you like to export in a single run, you could use File Output Nodes.
For the default cube, the rendered image would look something like this.
Any software that is capable of creating multilayered TIFFs will work.
For ImageMagick this command should work. (As ImageMagick doesn't have a graphical user interface, this is executed from the command line.)
convert canvas:white -resize 1920x1080! blender_render.tif -compose over multilayered_result.tif
You want to separate what you want into different collections. Then above collections there are view layers. Make view layers for what you want separated. Go to the collections and right click to exclude from each view layer. Now go to the compositing tab to work with nodes. Add Render Layer nodes for each view layer and select the view layer in the box at the bottom of the Render Layer node. It's also a good idea to make the view layers transparent. To do this go to Properties>Render>Film and tick the Transparency check box.