WIP: Support more AOVs #72

Closed
Georgiy Markelov wants to merge 6 commits from DagerD/blender:BLEN-461 into hydra-render

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.
1 changed files with 2 additions and 0 deletions
Showing only changes of commit 1028a34891 - Show all commits

View File

@ -146,6 +146,8 @@ class HydraRenderEngine(bpy.types.RenderEngine):
self.register_pass(scene, render_layer, 'Depth', 1, 'Z', 'VALUE')
if render_layer.use_pass_normal:
self.register_pass(scene, render_layer, 'Normal', 3, 'XYZ', 'VECTOR')
if render_layer.use_pass_position:
self.register_pass(scene, render_layer, 'Position', 4, 'XYZA', 'VECTOR')
def export_mtlx(material):