How to import 3d model from blender to unity (Added things in node editor and material)
Hi guys, i've been searching for a very long time on this answer.
Is it possible to export a blender file to unity with node editor on it and a custom material? In blender I can see the result that I want in rendered mode. I've made some color changing,... in the node editor but I can't export the model with that aplied. I hope you can help me out.
Greetz
Answer by Graphics_Dev · Jan 12, 2016 at 11:48 PM
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.
Make sure you have a good UV map on your model
Add a texture node on your material with the image you want to bake to (this should be a 2048x2048 image in most cases)
Go to the baking panel in Blender and select Diffuse Color
Hit bake then save your image
Export your model as an FBX (make sure you have only the baked UV on the model at this point)
Import your model into Unity
Import your texture into Unity
Assign your texture to the material
Let me know if this helps ;)
Sorry for the late reply, thanks for your help! :) I will check if it works. This is the tutorial that I followed: https://www.youtube.com/watch?v=xRDF$$anonymous$$YfsIcU
Greetz
Your answer
![](https://koobas.hobune.stream/wayback/20220612055955im_/https://answers.unity.com/themes/thub/images/avi.jpg)