How to EXPORT MATERIALS from Blender to Unity 2023 (Updated)

Sdílet
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

Komentáře • 205

  • @LuanOliveira-kk9hb
    @LuanOliveira-kk9hb Před 11 měsíci +13

    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.

  • @CarlosAMaldonado
    @CarlosAMaldonado Před rokem +112

    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 ;)

    • @RigorMortisTortoise
      @RigorMortisTortoise  Před rokem +16

      This is awesome, thank you so much for sharing!!

    • @matheussetinacio7910
      @matheussetinacio7910 Před 11 měsíci +12

      Probably one of the most informative extra info on a comment I've ever seen

    • @michaeljulians
      @michaeljulians Před 7 měsíci +2

      Wow thanks a lot!!

    • @sydneyculshaw1379
      @sydneyculshaw1379 Před 5 měsíci +1

      What about baking metallic map for unity do you have any tips for that?

    • @CarlosAMaldonado
      @CarlosAMaldonado Před 5 měsíci

      @@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.

  • @bobwreath7117
    @bobwreath7117 Před rokem +39

    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 :)

  • @jennifervercezes
    @jennifervercezes Před 6 měsíci +3

    You are a savior, I spent so long trying to find a proper workflow for this!

  • @ObsequiousV4
    @ObsequiousV4 Před rokem +3

    Great tutorial. Touches on a few things I was unsure about and doesn't waste any time faffing about. 10/10

  • @crazyconan28
    @crazyconan28 Před 8 měsíci +2

    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.

  • @alongal407
    @alongal407 Před 11 měsíci +14

    Absolutely amazing tutorial, crazy how its hard to find good tutorials on texture baking

  • @SY-Dev
    @SY-Dev Před 26 dny

    WOW I just spent days trying to figure this out, and you made it so crystal clear. Thanks for saving the day!!!

  • @MrOwen1231
    @MrOwen1231 Před 11 měsíci +4

    You are awesome! I've spent the last 3 hours trying to figure this out!

  • @lifson22
    @lifson22 Před rokem +8

    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.

  • @oheybom
    @oheybom Před 7 měsíci +2

    GOOD TUTORIAL THANKS was searching the entire web about something to help me with exporting textures

  • @MrJbenn
    @MrJbenn Před 8 měsíci +4

    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!

  • @Get2KnowOli
    @Get2KnowOli Před rokem +3

    !Thank you so much! would love a more detailled tutorial :3

  • @Glados44
    @Glados44 Před 9 měsíci +1

    Thank you very much lady. Youndont know how much time i was looking for this explanation

  • @paradiselander8072
    @paradiselander8072 Před měsícem

    Thank you! One of the best tutorials. Wish I had seen this last night and saved myself a few hours!☺

  • @twoninetwo8557
    @twoninetwo8557 Před 8 měsíci +1

    Thanks I finally found the solution to my problem! your a life saverr!

  • @bbproductions8975
    @bbproductions8975 Před 10 měsíci +1

    Omg I’ve looked for a video like this for so long!

  • @MrNaperonable
    @MrNaperonable Před rokem +5

    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!

  • @rodrigopaillet
    @rodrigopaillet Před 11 měsíci +2

    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 !!!

  • @AnnaGlin
    @AnnaGlin Před 6 měsíci +1

    straight to the point and easy to understand. thank you! subscribed :)

  • @aesjifds
    @aesjifds Před rokem +1

    this was great - thank you!

  • @househikephotography
    @househikephotography Před 8 měsíci +1

    This was really helpful. Thank you!

  • @rs4gertsch
    @rs4gertsch Před 11 měsíci +4

    Would love to see a complet guide on how to transfer everything, including normal maps for instance! :)

  • @FroggyInTheBoggy
    @FroggyInTheBoggy Před 6 měsíci +2

    saved my game. gl on your projects.

  • @benjaminlehmann
    @benjaminlehmann Před rokem +10

    Hey. That was so helpful. Please do make a more in depth tutorial - would love to wattch and learn. Thanks!

  • @TaMereLArtichaut
    @TaMereLArtichaut Před rokem +1

    Omg thank you so much you've helped me a lot on this!! I seriously needed it

  • @LtsVapor
    @LtsVapor Před rokem +3

    this is great and you should def make more tutorials like this

  • @christianweller4288
    @christianweller4288 Před 11 měsíci +1

    Thanks. Straightforward and easy to follow.

  • @zeyneptopuz6779
    @zeyneptopuz6779 Před 6 měsíci +1

    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.😭

  • @dimitrigameiro2276
    @dimitrigameiro2276 Před rokem +1

    Thank you very much, it was clear and fast 💯💯

  • @soominlee4906
    @soominlee4906 Před 6 měsíci +1

    What a clean explanation. Thank you very much.

  • @betapotataOld
    @betapotataOld Před 5 měsíci

    well paced easy to follow guide, thank you! also love your username rhyming names are the best (;

  • @tonybrutal
    @tonybrutal Před 4 měsíci

    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.

  • @user-br9vd8dz6s
    @user-br9vd8dz6s Před 11 měsíci +1

    Thank you for your sharing, it helps a lot!

  • @luderezeus
    @luderezeus Před 5 dny

    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👌

  • @KillerGameDev
    @KillerGameDev Před rokem +1

    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! =)

  • @DarkParadice
    @DarkParadice Před rokem +1

    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.

  • @RandomDBZfan287
    @RandomDBZfan287 Před 9 měsíci

    thank you so much this was so helpful

  • @alyson_lupo
    @alyson_lupo Před 4 měsíci +1

    You can leave Properties/Sampling/Render/Max Samples = 1
    It won't affect baking quality but will speed up the process

  • @unDeadGod69
    @unDeadGod69 Před 2 měsíci

    This help me a lot. Thanks for the video

  • @lexy5490
    @lexy5490 Před 4 měsíci +1

    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.

  • @carolinam.cabala6323
    @carolinam.cabala6323 Před 9 měsíci +2

    Those are the most beautiful mushrooms I’ve ever seen in my entire life 😭😭😭💕

  • @rhodondendron
    @rhodondendron Před 4 měsíci

    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.

  • @muhammadowais4618
    @muhammadowais4618 Před měsícem

    Thanks It works.

  • @Ranoluq
    @Ranoluq Před 11 měsíci +1

    Thank you for this

  • @Peanut_VR_
    @Peanut_VR_ Před 4 měsíci

    Thanks this helped me so much

  • @alan112223
    @alan112223 Před rokem

    Thanks! Subscribed

  • @ya-fj2ri
    @ya-fj2ri Před 4 měsíci

    This was Great! only problem is that my roughness doesnt appear to show up. Any fixes?

  • @alexanderkulaev541
    @alexanderkulaev541 Před 2 měsíci +1

    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.

  • @sheikhhasan523
    @sheikhhasan523 Před rokem

    mam u r awesome .ur way of teaching is simple and understandable . i will use it later on.

  • @pedropvitoriano
    @pedropvitoriano Před rokem +1

    You saved me! Thank you so much!

  • @eshananimationworld2086
    @eshananimationworld2086 Před 6 měsíci

    hi, i have 2 objects and they have different textures so how do i combine them and keep the texture?

  • @rustiverse
    @rustiverse Před 10 měsíci

    no bs tutorial. Thanks!

  • @J_fsp
    @J_fsp Před 14 dny

    Do you have a tutorial for importing glass like material into unity?

  • @Seilor_12
    @Seilor_12 Před 6 měsíci

    Great video but i got stuck on the principled BSDF my material doesn't have it, there is no other way?

  • @Rev-X-Films
    @Rev-X-Films Před rokem +1

    I definitely need the texture with the normal maps. I am struggling to find it anywhere and it is driving me crazy.

  • @user-gb6fk5rz1z
    @user-gb6fk5rz1z Před 5 měsíci

    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?

  • @weiminlean8461
    @weiminlean8461 Před 3 měsíci

    how do we export materials that connect to alpha in principle BSDF material in blender?

  • @LishaV81
    @LishaV81 Před měsícem

    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!

  • @fishrim
    @fishrim Před měsícem

    worked well very cool👍🥛

  • @PetersExcapades
    @PetersExcapades Před 4 měsíci

    How would one go about baking with normal maps and other stuff?

  • @mathieuRakoto
    @mathieuRakoto Před rokem +2

    Thank you so much for this tuto' ! Thanks to you I could import my boss in my game :D

  • @kyojin_.
    @kyojin_. Před 18 dny

    What if my object has noise and bump mapping?
    I followed your instructions but couldnt bake the noise along with the bump mapping

  • @lizzymasters7469
    @lizzymasters7469 Před rokem

    Thank you miss. You saved me.

  • @dragongeon4217
    @dragongeon4217 Před 2 měsíci

    Hey Im having problems bake textures. I have shaders that are using fresnel. Is that the problem?

  • @nihl2204
    @nihl2204 Před 6 měsíci

    thank you so much

  • @bro1275
    @bro1275 Před 2 měsíci

    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?

  • @OvernightOats1
    @OvernightOats1 Před 6 měsíci

    I would love to see a more in depth tutorial that includes normal maps and more textures! :))

  • @maniacbanana9431
    @maniacbanana9431 Před 8 měsíci

    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

  • @DiegoGarcia-oe4iy
    @DiegoGarcia-oe4iy Před rokem

    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

  • @GurberBabyOwen
    @GurberBabyOwen Před 10 dny

    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.

  • @TH-eg8um
    @TH-eg8um Před rokem

    good day after export, does any way can do the texturing?

  • @user-wi9dp1gh9y
    @user-wi9dp1gh9y Před 7 měsíci

    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

  • @scarecrow5848
    @scarecrow5848 Před 8 měsíci

    ...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?

  • @vibhushagangulel5647
    @vibhushagangulel5647 Před 7 měsíci

    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?

  • @Pikmin.-
    @Pikmin.- Před rokem

    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?

  • @RyDaCol
    @RyDaCol Před rokem

    Tysm!

  • @MrKiraBR
    @MrKiraBR Před 9 měsíci

    Thanks a bunch!

  • @tommytek_bs
    @tommytek_bs Před rokem +1

    your the most useful girl in this world thank you so much❤

  • @Domnyus
    @Domnyus Před rokem

    This will be useful to me soon. Good video

  • @safescissors779
    @safescissors779 Před 10 měsíci

    When I drag the image files in it dosnt do anything, maybe I’m dumb but I don’t think I did anything wrong

  • @kaputtccinoccino9046
    @kaputtccinoccino9046 Před rokem

    Thank you🎉

  • @zarguitooo
    @zarguitooo Před 7 měsíci

    ty so much

  • @luisfernandocruzjimarez3675
    @luisfernandocruzjimarez3675 Před 8 měsíci

    and if i dont have a principal BSDF wath can i do ?
    SOS if someone can help i dont now wath else to do

  • @freddy_n_friendz
    @freddy_n_friendz Před rokem

    thank you very much😄

  • @Omnivoid22
    @Omnivoid22 Před 4 měsíci

    So i was taught to embed them in the item. Then extract textures when in unity. Is that not the way to go ?

  • @TMTuts
    @TMTuts Před 6 měsíci

    It wont finish baking after 26% how do i fix it

  • @timo3767
    @timo3767 Před 8 měsíci

    You are amazing thank you so so much

  • @user-ie2vp2qf8m
    @user-ie2vp2qf8m Před rokem

    thank you,this is useful to me

  • @ImmortalArcsHeaven
    @ImmortalArcsHeaven Před 6 měsíci

    Thank you!

  • @zekenebel
    @zekenebel Před 11 měsíci

    Just wanted to say thanks cus I follow 9 videos and none of them worked , after following your tutorial it worked first time

  • @yaranassibraffoul7892
    @yaranassibraffoul7892 Před 11 měsíci

    How did you get the images?

  • @peedonyou
    @peedonyou Před rokem +1

    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")

  • @demonicninja1986
    @demonicninja1986 Před 5 měsíci

    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

  • @f41nT
    @f41nT Před 3 měsíci

    what if I have multiple materials in one object?

  • @leerc7721
    @leerc7721 Před 6 měsíci

    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?

  • @nicolamennillo
    @nicolamennillo Před rokem

    there's a way to export Udim's from blender to unity?

  • @N_Yus
    @N_Yus Před rokem

    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?

  • @bodyhanger7137
    @bodyhanger7137 Před rokem

    You have a new subscriber. TYSM…👍🏻

  • @gal3xystar
    @gal3xystar Před 7 měsíci

    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...