I downloaded a Model from BlendSwap and when I was looking through materials, I these nodes which I have never seen before.
Examples:
How do I create one of these custom nodes?
Blender Stack Exchange is a question and answer site for people who use Blender to create 3D graphics, animations, or games. It only takes a minute to sign up.
Sign up to join this communityI downloaded a Model from BlendSwap and when I was looking through materials, I these nodes which I have never seen before.
Examples:
How do I create one of these custom nodes?
Those "custom nodes" are really called Group Nodes. You can create a group node by selecting a group of nodes and hitting Ctrl+G. You can see and edit the contents of a group node by selecting it and pressing Tab. Once created, you can add a group node with the Shift+A add menu under Group.
When editing a group node there are two special nodes. The Group Input node allows you to pass information into the group node by plugging its sockets into nodes in the group. Likewise, the Group Output node allows information to pass out of the group node by plugging nodes in the group into its sockets.
You can quickly add inputs and outputs by plugging other nodes into the the empty circle node sockets at the bottom of the input/output nodes.
Click to enlarge. This is a simple fake light group node I have created.
You can also add inputs and outputs (as well as remove them, change their names, default values, adjust minimum and maximum values, and change their order) in the N toolbar under the Interface rollout.
Group nodes are very useful for grouping specific node trees you use a lot. I have created a few node groups I use frequently and included them in the startup file (with fake users) so I have them whenever I need to use them in any project.
In Blender nomenclature these nodes are called Node Groups, the symbol below is used to show that. You can think of them as Custom Nodes but that term may lead to some confusion because Blender also has Custom PyNodes (which are nodes defined in Python).
Groups of nodes that form a cohesive feature can be placed into a group (a container) and you can give this group inputs and outputs. This lets you abstract the inner-workings of the node group and keep your main node tree less cluttered.
How to make these node groups is already extensively covered in this answer , and here.