gregzaal / Matalogue

List of node trees to switch between quickly
151 stars 12 forks source link

luxrender/luxblend support #9

Open obbrc opened 7 years ago

obbrc commented 7 years ago

This is great. Thank you for writing it. I just want the other know that luxrender/luxblend can be supported with by replacing ShaderNodeTree with luxrender_material_nodes (obviously that would remove I assume blender's native nodes).

gregzaal commented 7 years ago

Just tried this, but it looks like Luxrender stores their material nodes as standard node groups (accessible with bpy.data.node_groups) and thus shows the materials in the Groups panel for me (instead of the Materials panel like it does for Cycles).

Maybe there is a way to find the appropriate node tree from a given luxrender material? And also to know whether a node group is an actual node group or a tree for a lux material.