ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel

Organizing your nodes in Blender Cycles

Updated on June 5, 2015

When dealing with them, nodes can be quite a handful. There are so many, all interconnected in some way. Sometimes you can lose sight of what node is performing which function.

Especially when you created a large node tree and return to your Blender file a few days later, it’s easy to forget why you did something. What were you thinking when you connected that color socket to the strength factor of your mix node? Luckily, there are several ways in Blender Cycles to organize your nodes.

Take this low-poly tree for example. It has a simple setup: A material for the leaves and a material for the bark.

The leaves material uses a PNG image texture of leaves with a transparent background. This way, you can slap this texture onto a normal plane mesh. When using the proper node setup, you will only see the parts of the plane with the leaves on it and not the part with the background.

The node setup for the leaves material:
The node setup for the leaves material:

Normally I wouldn’t bother doing much organizing by labeling and coloring them, because this is a fairly simple setup. However, it’s a good example to start with.

Node Labels

  • Open the properties shelf by pressing N
  • Select a node. For example, the Mix Shader Node on the right.

These are the properties of the Mix Shader node. This specific node controls which parts of the planes are visible and which are transparent.

  • Now fill in the field Label with a description. For example “Leaves Alpha”.

As you can see, the title of the node just changed. When using labels, you can add handy descriptions to help keep the overview. However, the downside of this, is that you can no longer see what kind of node this is, by just looking at the three. I would have to manually check the properties panel of this node. I can take a guess that this is a Mix Shader node. But some nodes look a lot like other nodes.

This can be especially a problem when other people look at your node setups. When I see a picture of a node setup that someone else made and I want to replicate it, it could take a long time searching through all the types of nodes, because I don’t know the original name.

A wider node takes up more space
A wider node takes up more space

I can of course try to solve this problem by including the original node name to the label. But then you would have to either make the font size smaller or make the node wider. The bigger your description, the wider the nodes. Or unreadable small fonts.

Frame nodes

A frame node is sort of a container. It’s a very good way of labeling entire groups of nodes and then giving them a proper label.

  • Add a frame node with Shift-A => Layout => Frame
  • Now put this node underneath the mix node.
  • Now jiggle the Mix Shader node a bit, so it falls in the Frame Node. The size of the Frame Node is automatically adjusted to match the node(s) inside. If you want to manually change the size of the Frame Node, uncheck the box “Shrink”.
  • Fill in the Label field of the Frame node in the Properties panel.

Now you’ll have something like this:

But isn’t it more efficient to label several nodes as a group?

  • Drag the Transparent BSDF and Add Shader Node in the Frame Node.
  • Position them around so it looks good.
  • Change the label of the Frame Node to a description you like. If needed, you can change the Label Size under “Properties.”



The result should be something like this:

If you need to add a larger description, using the label could be a problem. You can add more by creating a text in Blender’s text editor and then add it to the node.

  • Go to the Text editor
  • Create a new text block by choosing Create Text Block from the Text menu. Alternatively, you can also click the plus sign or use the short key CTRL-N.
  • Rename the text to something recognizable, like “Framenode-1”
  • Start typing your description.
  • Make sure to limit the length of each line. The longer your biggest line is, the wider your Frame node has to be.

  • Go back to the node editor
  • Make sure the Frame node is selected and go to the Properties panel.
  • In the field “Text” click on the note pad icon. Choose your text from the drop down menu.

  • The nodes are in front of the text. If you have the Shrink option still checked, you can solve this by unchecking the Shrink option and just manually resize the frame node and moving the containing nodes around.
  • If you want, you can change the color of the Frame node as well (or any other node). Check “Color” and choose the color you want.








The result should now be like this:

And this is the result with multiple Frame nodes:

Group nodes

Group nodes are a good way to make some space in your node editor. When you have a large number of nodes that do one thing, you can group them. Basically, you are combining a lot of nodes to one super node. Aside from saving space, you can duplicate this “super node” multiple times over multiple materials. This can come in handy, when you have a complex node setup that you need to use more than once.

For example, let’s say I want to make multiple materials for several kinds of tree leaves. Every texture is different, so I’m not sure I will be using the same Bump mapping or glossy settings. But what I do know, is that every leaf will use the Translucent node and the Transparency setup. I will combine these in one group.

  • Deselect every node by pressing A.
  • Press B and select the nodes as shown in below picture. Make sure you also select the Frame Nodes if you used them.
  • Press CTRL-G

Group Node - Image 1

Selecting multiple nodes by pressing B and dragging with the mouse
Selecting multiple nodes by pressing B and dragging with the mouse

Group Node - Image 2

Editing the Group Node
Editing the Group Node

The “Group Input” node on the left is all the input this node is receiving from outside the group.

The “Group Output” node on the right is all the output this group node will be delivering.

  • Press TAB to leave the Group edit.
  • If you ever want to edit the group again, select the node group and press TAB again.
  • You can add a label to this Group Node in the Properties Panel and/or change the color.
  • You can change the Group name under Properties. This name will be used when adding the Group Node later.
  • Note that you can also change the Name of the node on the top under "Node". However, this doesn't have any relevant effect.





Your normal node setup now looks like this:

Now you can add this group node to any material you like, by adding it in the node editor with

Shift-A => Group => <Your Group>

Note that any change made to it, will affect all materials that have this group node! Just like with materials, you can easily check how many times your group node is being used.

As you can see, in this example the Group Node is used twice. If you click on this number, Blender will make a copy of the Group Node and you can make all the changes you want without affecting any other materials or setups.


That's it!

Well, that's about it for organizing your nodes in Blender Cycles!

If you have any questions or suggestions, let me know in the comments below.

Comments

    0 of 8192 characters used
    Post Comment

    No comments yet.

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: https://hubpages.com/privacy-policy#gdpr

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)