How to EXPORT MATERIALS from Blender to Unity 2023 (Updated)
Vložit
- čas přidán 22. 07. 2024
- Let's learn about how to take your models and materials from blender, and how to properly export them into Unity!
👾 Join the Discord! / discord
🫶 Access Code Files and Projects! [patreon.com/RigorMortisTortoise]( / rigormortistortoise )
~ Contact ~
📷 Instagram: @rigor_mortis_tortoise
⏱️TikTok: Rigor_MortisTortoise
💌 Email: [hello@rigormortistortoise.com](mailto:hello@rigormortistortoise.com)
🐢Website: [rigormortistortoise.com](rigormortistortoise.com/)
~ Music ~
massobeats - honey jam:
~ Chapters ~
00:00 Introduction
00:20 Blender's Node System
00:54 How Blender works with Unity
01:50 Unwrapping the Model
02:38 Baking an Image Texture
04:11 Setting up the Materials
04:48 ~ Important ~
05:17 Exporting our Model - Hry
This is definitely the best video I've seen so far, I always had this doubt about how to export texture from blender to unity without losing quality. Perfect, congratulations, I'm already following your channel.
Some optimization tips, try to reduce the amount of materials you use, in the example of your mushroom it was made of 3 parts with 3 different materials, it'd been better to use just one material to the whole mushroom (so it must've been uv unwrapped the 3 parts into just one map) if you select all the parts in this case the 3 objects that conform your mushroom and all the materials got the same image texture node selected you can bake all to the same png image. Other lil tip to make your images lighter, if you're not using transparencies in your image (blender can't bake transparency anyway) uncheck the "Alpha" box because your are creating a whole new channel on that image that you're not going to use. Finally, when baking your image always try to use the gpu rendering (you have to activate your gpu on blender system settings) and then select GPU bellow the cycles option on the rendering tab, and if you're just baking diffuse you can just use 1 sample (in the video you used 300 samples, but unless you're baking lighting like direct or indirect light, more than 1 sample will be useless bc is gonna render the same 300 times) so if you're baking just diffuse, emissive, roughness, normal, position or uv just use 1 sample and that will save a lot of bake time ;)
This is awesome, thank you so much for sharing!!
Probably one of the most informative extra info on a comment I've ever seen
Wow thanks a lot!!
What about baking metallic map for unity do you have any tips for that?
@@sydneyculshaw1379 you can make it in many ways, but my 2 to go are: for both you have to bake in 1 image metallic and 1 image for roughness, i method 1.- export your model in .fbx from blender and open it in substance painter, then import both your metallic and roughness textures, make a fill layers, activate only metallic and roughness channels and drag your metallic texture into the metallic channel and your roughness texture into the roughness channel, finally export your textures with unity urp export template. Method 2: in photoshop or any photo editing program that let's you use alpha channel drag your metallic texture, and then making an alpha mask drag your roughness texture, this can vary depending on the program you use, but the point is that you gotta make a texture that in the red channel got your metallic and in alpha channel got your roughness, blue and green channels ard ignored, so you can have your metallic in all rgb, this method being the red channel the metalness and alpha smoothness works only on built-in render pipelines and URP.
Would definitely be interested in that video on a more streamlined process proposed at ~5:09 as many assets I'm working on contain a lot of tiny bits that sometime use the same material (but unwrap differently) or the same shape but use different mats. Just spent way longer than I should have doing every bit individually! Regardless though, thank you for your tutorial as the tutorials I looked at previously were ~quite~ a bit out of date :)
You are a savior, I spent so long trying to find a proper workflow for this!
Great tutorial. Touches on a few things I was unsure about and doesn't waste any time faffing about. 10/10
Thank you for the video. I extracted the portion I needed for understanding how a exported Blender Object's material can be applied in Unity.
Absolutely amazing tutorial, crazy how its hard to find good tutorials on texture baking
WOW I just spent days trying to figure this out, and you made it so crystal clear. Thanks for saving the day!!!
You are awesome! I've spent the last 3 hours trying to figure this out!
Seriously helpful! I am just starting to dive into blender the last couple weeks, and today was trying to get some stuff imported into unity and could not figure out how to get textures. I'm working with some slightly more complicated node setups and am still running into a couple roadblocks. Would love to see how to deal with a bit more complex setups.
GOOD TUTORIAL THANKS was searching the entire web about something to help me with exporting textures
Would love to see more tutorials on the Blender -> Unity pipeline, especially explaining External Data, packing / unpacking of resources, libraries, and textures, and exporting complex and/or rigged models. Thanks!
!Thank you so much! would love a more detailled tutorial :3
Thank you very much lady. Youndont know how much time i was looking for this explanation
Thank you! One of the best tutorials. Wish I had seen this last night and saved myself a few hours!☺
Thanks I finally found the solution to my problem! your a life saverr!
Omg I’ve looked for a video like this for so long!
Hello, thanks for the great tutorial!
I would be very, very interested to see an in depth tutorial with normal maps, roughness and so on. Exporting to Unity has been a surprisingly clunky and unpleasant process ans all help is very appreciated!
Thx you Tortoise for helping me in my gamedev journey. Was struggling a lot with this and after the video I was able to do it in the first try !!!
Glad I could help!
straight to the point and easy to understand. thank you! subscribed :)
this was great - thank you!
This was really helpful. Thank you!
Would love to see a complet guide on how to transfer everything, including normal maps for instance! :)
saved my game. gl on your projects.
Hey. That was so helpful. Please do make a more in depth tutorial - would love to wattch and learn. Thanks!
Omg thank you so much you've helped me a lot on this!! I seriously needed it
this is great and you should def make more tutorials like this
Thanks. Straightforward and easy to follow.
Thank you very muchh. I'm just starting out with 3d modeling and everything is difficult for me. I had a problem today and your video saved me.😭
Thank you very much, it was clear and fast 💯💯
What a clean explanation. Thank you very much.
well paced easy to follow guide, thank you! also love your username rhyming names are the best (;
Very nice. Had to do it slightly differently to make it work with ucupaint but still works. Just had to link the image texture to the ucupaint node first instead of the BSDF node.
Thank you for your sharing, it helps a lot!
What's funny is I wasn't even looking to do what was done in this tutorial.
I just wanted to see if you can have separate texture files/images for different parts of a mesh instead of haveing a massive one that encompases the whole mesh.
Because Im making a VTuber model, it has loads of separate parts, so its good to know its possible.
Thank you for indirectly helping me👌
Wow. Like... Seriously Ive been doing unity and blender for years and EVERYONE has always said I can only do flat, basic materials. Youve seriously changed my life today. Alright - earned a subscribe. Thanks! =)
Thank you so much!! Happy to help :)
Have you ever heard about manuals? lol
my god that was so to the point and exactly what I wanted (what you titled the video) without 20 &$%#!@$ minutes of some dude rambling. Thank for you an accurate and concise video. My brother and law and I were trying to figure this out and kept having issues with the image being black or one thing or another going wrong.
Lmao 😆 glad I could help, thank you!
thank you so much this was so helpful
You can leave Properties/Sampling/Render/Max Samples = 1
It won't affect baking quality but will speed up the process
This help me a lot. Thanks for the video
Very usefull, you really helped me. So, you shoude say about Baking settings one more thing, i'm needed to bake roughness, so if you need it too, just select roughness Instead defuse.
Those are the most beautiful mushrooms I’ve ever seen in my entire life 😭😭😭💕
Aww thank you so much!! 🍄
Great video! I see a lot of blender video's about using Eevee. Why do we need to use cycles? Also, what things are not possible to export to unity? I see a lot of beautiful tutorials for grass for example but I can't seem to find a way to change hair particles to something that unity understands.
Thanks It works.
Thank you for this
Thanks this helped me so much
Thanks! Subscribed
This was Great! only problem is that my roughness doesnt appear to show up. Any fixes?
Thank you for the video tutorial! It's really easy to follow and it's an important topic for me.
But I have issues, right after I created the texture for the first part of the model. Something goes wrong on the stage where I add the second image texture node.
When I repeat the steps I did to create another texture, for the second part of the model, the new texture is for some reason the same I created for the first part of the model, and so it gets glitched because it's applied to the wrong part of the model, this second part.
So how do you manage to add several image texture nodes and get perfect results with it? I can add only one without glitches, sadly.
mam u r awesome .ur way of teaching is simple and understandable . i will use it later on.
Aye, a fellow Portlander!! Thanks for watching 😊
You saved me! Thank you so much!
Glad I could help!
hi, i have 2 objects and they have different textures so how do i combine them and keep the texture?
no bs tutorial. Thanks!
Do you have a tutorial for importing glass like material into unity?
Great video but i got stuck on the principled BSDF my material doesn't have it, there is no other way?
I definitely need the texture with the normal maps. I am struggling to find it anywhere and it is driving me crazy.
Help, how do I do this if I don't have a principle BSDF thing in my shader editor for my mtl, will it still work?
how do we export materials that connect to alpha in principle BSDF material in blender?
Thank you sooooo much for this tutorial!! My husband and I are making a game together (I'm making the assets) and I have been having such a hard time with "baking," but the way you explained it was so easy to understand!
I'm wondering if you (or anyone reading this, lol!) can help me out a bit, I am trying to make a log wall for our game. I got it looking pretty good, I have a texture connected to a "Bump" node and those are the only things plugged into my BSDF. But when I bake it, the texture image shows up, but the Bump doesn't show up, so it looks completely flat. I have no idea why it's doing this!
worked well very cool👍🥛
How would one go about baking with normal maps and other stuff?
Thank you so much for this tuto' ! Thanks to you I could import my boss in my game :D
Yay! Glad I could help :)
What if my object has noise and bump mapping?
I followed your instructions but couldnt bake the noise along with the bump mapping
Thank you miss. You saved me.
Hey Im having problems bake textures. I have shaders that are using fresnel. Is that the problem?
thank you so much
When i delete the other nodes the material looks way diffrent, i think its because i have other nodes connected to like roughness ect. so can someone help me?
I would love to see a more in depth tutorial that includes normal maps and more textures! :))
does this method only work for materials? I had some textures on my object and when i baked it they got deleted or something i think, now its just black
what if I’m using animations? I mean putting #frame/10 in the shaders. will it move as a still image? is there a way to make it move in unity? thanks
Whenever I go to bake the texture it tells me the model is not enabled for rendering, if you have a fix for that please lmk.
good day after export, does any way can do the texturing?
Does anyone have advice on exporting an object with animated material from blender to Unity? I have an animated intro and outro effect in blender but no luck getting that animation into Unity as of yet
...ok, so my issue, is that when I export using a .FBX, my character is FULLY rigged, but he doesnt have the extures.. does this tutorial still apply?
Can we apply this with shaders and emissions. I have created a logo that glows with an emission and I couldn't get the real outcome I created in blender. Is there a possible way to export those along with it?
Can you help me? I need to get a texture from an OBJ format model in blender. Do you know a way to export the texture from it?
Tysm!
Thanks a bunch!
your the most useful girl in this world thank you so much❤
You're so welcome!
This will be useful to me soon. Good video
Thank you!
When I drag the image files in it dosnt do anything, maybe I’m dumb but I don’t think I did anything wrong
Thank you🎉
ty so much
and if i dont have a principal BSDF wath can i do ?
SOS if someone can help i dont now wath else to do
thank you very much😄
So i was taught to embed them in the item. Then extract textures when in unity. Is that not the way to go ?
It wont finish baking after 26% how do i fix it
You are amazing thank you so so much
thank you,this is useful to me
Thank you!
Just wanted to say thanks cus I follow 9 videos and none of them worked , after following your tutorial it worked first time
Ayyye 😎 Thank you!
How did you get the images?
i keep getting an error when i try to bake the model i followed all the steps ( the error reads "uninitialized image "reflectroom.jpg" from object "testmat1")
I tried and it made my image black, and it said that a certain mesh doesn’t have a material even though I can see it
what if I have multiple materials in one object?
The texture does apply onto my model when I bring it in to Unity, but it does not know where to put the textures in relation to the UV map, so it looks a mess. Anyone else have this problem?
there's a way to export Udim's from blender to unity?
Hey, this was very helpful. Do you think, it is possible if i create the whole Game Map in Blender and export it to unity? Do you think that is possible?
You have a new subscriber. TYSM…👍🏻
Thank you so much! ☺️
If you already have, I think it's called image textures, basically I drew on the UV unwrap in rendered view
But accidentally colored things when it was in "grey view"
And when I imported it to Unity it only showed what I "colored" by accident in the "grey view"
Please please please help me with this! It was a nightmare to texture paint...