Blender Node Editor Texturing to Image for Unity?

For those of you familiar with Blender 3d, you should also be familiar with the Node Editor in which you can generate amazing texturing onto 3d objects. The Textures/Materials made with the Node Editor make the objects look so stunning! But is it possible to export those generated textures to an image(s) for mapping onto an object in Unity?

I realize Blender is mainly for rendering HQ scenes and movies but to obtain those amazing textures you can create in the Node Editor would make my day. Is anyone familiar with this? Can this be done?

First, what you are doing in the node editor in Blender is basically ignored by Unity. In the node editor you are creating a complex shader for the material you are working on by combining Cycles’ built-in shaders. Unity has its own set of shaders designed for rendering in a game that you will need to use in the end.

That said, you can still get something close to what you have in Blender (I will assume you are using Cycles not BI). The solution to the problem is what is called baking. If you let me know what kind of material this is (metallic, wooden, etc.) I can help you further, but here goes a generalized baking tutorial.

  1. Make sure you have a good UV map on your model
  2. Add a texture node on your material with the image you want to bake to (this should be a 2048x2048 image in most cases)
  3. Go to the baking panel in Blender and select Diffuse Color (for diffuse materials like wood, stone, etc.)
  4. Hit bake then save your image
  5. Export your model as an FBX (make sure you have only the baked UV on the model at this point)
  6. Import your model into Unity
  7. Import your texture into Unity
  8. Assign your texture to the material

Let me know if this helps :wink:

Hi, it’s possible, just make uv map and bake it. If you want to use it as PBR then you must split chanels into layers. Here is link to PBR node pack (helping to use substance painter materials into cycles) but if you change those nodes and make outputs then you may connect them and bake these PBR channels as textures.

PBR_SHADER 1.75 for Blender 2.73 + Documentation | Matthieu Barbié // TD