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.
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') self.register_pass(scene, render_layer, 'Depth', 1, 'Z', 'VALUE')
if render_layer.use_pass_normal: if render_layer.use_pass_normal:
self.register_pass(scene, render_layer, 'Normal', 3, 'XYZ', 'VECTOR') 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): def export_mtlx(material):