Save Time Rendering with Blender’s View Layers Settings
View Layers can help you composite images, change a scene, and render final images without having to re-render after any alterations. Keep reading to find out more about what View Layers can do for your composite render.
How Layers Are Separated in Blender
When starting a new .blend file, you will find yourself heavily relying on your Outliner, which is where you can keep track of all your file’s data. Your data may be split up into scenes, with each having one or more layers called View Layers. Each of these layers may then have one or more collections.
Originally referred to as Render Layers in Blender 2.7, View Layers in Blender 2.8 onward performs the same purpose, but with streamlined simplicity and efficiency. View Layers helps you to more easily and efficiently separate the objects, lights, and cameras you want to be visible, and more importantly, rendered in your final scene.
In many instances, due to either memory or time constraints, it’s more advantageous to split your scene into parts that will be rendered separately from the other elements in your scene and once all elements have been rendered, assembling the resulting images together in a layered composition.
View Layer Panel
It’s possible to create, rename, and remove layers. In the top right of Blender, there is a drop-down menu for View Layers. You can access the ability to create or delete a layer on the right side of the drop-down.
The View Layer panel found in the View Layer Properties tab is where you can access settings for the active layer.
- Use for Rendering: Check this option to use the active layer during rendering.
- Render Single Layer: Check this option to only render the active layer.
Using Collections
Before Blender 2.8, objects would be sent to different physical layers that could be called upon in a render or be manipulated independently from other objects by switching to its specific layers. From 2.8 onward, all objects share the same outliner but can be separated into collections. View Layer can be set so that only specified collections and the objects therein are rendered. Each collection also has settings that can be adjusted for each layer.
- Disable from View Layer: This option removes a collection from the active layer. Objects included in the collection are rendered with the active layer.
- Enable in View Layer: This option adds a collection to the active layer. Objects included in the collection are rendered with the active layer.
- Set Indirect Only: This option restricts objects in a collection so that they only contribute to the render through shadows and reflections.
- Clear Indirect Only: This option clears the Set Indirect Only flag, so that objects in a collection can fully contribute to the render.
- Set Holdout: This option allows objects in a collection to generate a holdout/mask in the active layer.
- Clear Holdout: This option clears the Set Holdout flag.
You can adjust the way the render engine renders the objects located in each collection. Based on your preferred render engine (internal or third-party), different parameters for each collection can be set. These settings can be accessed from the Outliner, but are hidden. To find them, go to the Filters pop-over in the Outliner header and enable the visibility “restriction toggles.”
Restriction Toggles
Restriction toggles are visibility toggles that tell Blender what layer, collection, or constraint should and should not be displayed or rendered in a particular viewport. By default, only some of the options are enabled, but they can be switched on or off and customized to your preferences.
Once activated, the options are then accessible in the Outliner list to the right of your scene data. Click the eye icon to toggle the display mode.
Compositing
The compositing workspace is one we haven’t really discussed in previous Render Pool guides, but it’s a very important aspect when working with larger projects and file formats.
Blender’s compositor allows you to assemble and enhance an image using multiple images or image sequences to complete a final composited image. Using composition nodes, you can take two images or cuts of rendered footage together and filter, colorize, and finalize it all at once.
Just like the Material creation workflow, Blender’s compositor is also node-based. You can change anything in your images using nodes. Every augmentation and alteration appear in real time.
Depending on your way of working, a familiar way to build up an image is to think of Photoshop’s layering system. The bottom layer in the layer space represents the back of the image, and the top layer represents the front of the image. When compositing, you should think about layering using camera depth: foreground, middle ground, and background.
The compositor can mix images of any size, but you should pay close attention to your individual image’s size and resolution. Distortion and color muting are possible when mixing images with different color depth and resolution parameters.
Additional rules apply when the compositor works with inputs of differently sized images:
- The output size is defined by the first/top image input socket
- The composite is centered by default, unless you use a Translate node to assign a translation to a buffer
You can easily save your image by selecting Image > Save Image (or Alt+S) once you’re satisfied with your composite. The saved image’s settings will match the image format settings on the Render Properties panel.
View Layers Can Be a Useful Asset for Your Rendering Toolbox
Though this particular way of processing 3D imagery is used more for large animation projects or a more practical way for lower-end workstations to be able to render high-quality images faster, it never hurts to have this method at the back of your mind as a potential asset in your designer’s toolbox. Happy Rendering!