[BETA] Blender Nodes for Unity - Node Workflow from Blender to Unity

Hello, I’m Warwlock. I’ve been developing games over 8 years. In the last years, I got interested in shaders and node graphs. But like most of you, I struggled passing Blender Nodes to Unity Shader Graph. Also using Shader Graph in Unity is little bit different than Blender’s Material Graph. So, I realized, someone should make a toolkit that helps node flow easier in Unity and Blender.

Blender Nodes Graph Beta is now available at Github: GitHub - Warwlock/blender-nodes-subgraph

Blender Nodes Graph is a tool designed to help developers to create shader nodes in Unity but using Blender style nodes. Also it helps developers to pass their nodes from Blender to Unity.

Here are some features Blender Nodes Graph provide:

  • Unity and Blender mixed node editor style
  • Simple shortcuts from Node Wrangler Add-on (Ctrl + T and Ctrl + Shift + Click)
  • Shift + A functionality
  • Unlike Shader Graph, RGB Curve node
  • One sticky node (Maybe it helps take some notes)
  • Exporting nodes with an Add-on from Blender and import to Unity
  • Fully customizable editor
  • Create your own subgraph menu in Shader Graph
  • Works with URP, HD-RP and Built-In render pipelines.
  • Supports Unity 2020.3 and higher
  • Blender Style Color picker and Value changer

There are some examples:

8408718--1110888--mixRGB.png

2 Likes

I like this, specifically because I also would like my graphs to look more like Blender’s - I mean the visuals and the interaction. How did you implement the graph on the Unity side, is it based on GraphView or something else?

I’m using xNode Node Editor for node graph. But I changed most of the code of xNode for change look of editor and generating files.

You can get xNode from Github: GitHub - Siccity/xNode: Unity Node Editor: Lets you view and edit node graphs inside Unity

Any particular reason why you went with xNode rather than NodeGraphProcessor / GraphView?

I searched for node editor for Unity and came across xNode. And then I used it in my project. Also I didn’t know NodeGraphProcessor and GraphView before. I just learned now. So, I used first result I saw.