Render: make Cycles and Evee support each other's output material nodes.
authorBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 1 Aug 2017 16:03:16 +0000 (18:03 +0200)
committerBrecht Van Lommel <brechtvanlommel@gmail.com>
Tue, 1 Aug 2017 17:13:41 +0000 (19:13 +0200)
commitc42c12939342bdccb98000c195503a78423ddc2c
treea60e272cbe1f4805e34e39f8f5118ec0fb743c77
parent110d6832a88a3ebca0b0d4c3d996e545c2f5e1f1
Render: make Cycles and Evee support each other's output material nodes.

This changes the Cycles exporting and Cycles/Eevee UI code to support both
output material nodes, giving priority to the renderer native one. Still
missing is Eevee code to prefer the Eevee output node.
intern/cycles/blender/addon/ui.py
intern/cycles/blender/blender_shader.cpp
release/scripts/modules/bpy_extras/node_utils.py
release/scripts/startup/bl_ui/properties_material.py
release/scripts/startup/bl_ui/properties_world.py
source/blender/nodes/shader/node_shader_tree.c
source/blender/nodes/shader/nodes/node_shader_output_material.c