How to Bake Textures in Blender and Export to Unity

Sdílet
Vložit
  • čas přidán 22. 07. 2024
  • Learn how to bake textures from procedural materials in Blender and export them to Unity.
    ✅HAMBURGER Free 3D model: bit.ly/386ZFFu
    ✅How To Export From Blender to Unity :- • How To Export From Ble...
    ✅Software Used : Blender 2.91 and Unity 2020.2
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ☑️Quick Links :☑️
    Introduction - 00:00
    Scene Setup 00:22
    Why bake textures ? 00:36
    Export to Unity without baking 01:40
    Bake Diffuse Map 04:06
    Bake Normal Map 08:08
    Bake Multiple textures 10:49
    Export FBX to Unity 12:23
    Unity Material Setup 13:27
    Final Result 14:40
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    💎 Watch advanced tutorial on Patreon 💎
    / uguruz
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    📱Social Links:📱
    🔸 Discord / discord
    🔸 Twitter: / u_guruz
    🔸 Facebook: / uguruzyt
    ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
    ✅URP Tutorial Series
    bit.ly/2TRZnv9
    ✅HDRP Tutorial Series
    bit.ly/2G73caJ
    ✅Lighting and Post Processing Series
    bit.ly/2TS0x9Z
    ✅Shader Graph Series
    bit.ly/2Xe2AaE
    ✅Unity Graphics Demo
    bit.ly/2XfSRAG
    ✅ Unity Beginner 3D Game Tutorial Series
    bit.ly/2ZNTjaY

Komentáře • 115

  • @iiizeroiii1636
    @iiizeroiii1636 Před 2 lety +19

    dude I just want to thank you for not putting tutorial torture music in this video. God bless you.

  • @renegaderaid
    @renegaderaid Před 10 měsíci +14

    The amount of steps required for this is process is absolutely ridiculous and complex. I appreciate your explanation, I’m just confounded that this is what needs to be done to go from Blender to Unity. There’s no way I’m manually doing this every time I want to update a model and material… and then it doesn’t even set the material properties! I feel like I’m taking crazy pills

  • @karanpratapsingh5022
    @karanpratapsingh5022 Před 3 lety +114

    Hi UGuruz,
    You are getting the seamline jagged tearing issues because the UV islands that you created at 4:45 don't have enough margin between each other.
    After adding enough margin between the UV Islands, there will still be a seam, but it is much less noticeable and has no tearing.
    Also, to hide this seam better, you can use Mark Seam the edge loop in Blender where the top part of the bun and the base meet and then do a normal unwrap. You can do the same to avoid visible tearing in your burger patties too.
    Lastly, to get the most out of the displacement data, it might be useful to store it inside a TIFF or EXR image instead of a png/jpeg.
    P.S. I really enjoy your Unity level design tutorials! Keep 'em coming!

    • @UGuruz
      @UGuruz  Před 3 lety +11

      Thanks for your feedback. I would definitely try this.

  • @ykyjohn
    @ykyjohn Před 3 lety +56

    image texture node must be set to non-color data, you use it as sRGB so that produces a very incorrect projection from the normal map.

  • @adamliss9090
    @adamliss9090 Před rokem +3

    I literally felt my brain expanding as I watched this. Thanks for the super clear explanation!

  • @user-bk5tt8bx1i
    @user-bk5tt8bx1i Před 2 lety +21

    04:36 攤平UV〔Smart UV Project〕
    06:02 渲染選Cycles、CPU
    06:16 Render Samples 16 or 32 先測試再調高
    06:40 Bake Type

  • @scottjensen7555
    @scottjensen7555 Před rokem

    Thank you, this was exactly what I was looking for to unpack embedded textures so I can edit them in Photoshop

  • @scotchtapeworm3755
    @scotchtapeworm3755 Před 2 lety +9

    To fix the normal map problem change the Color space on the Image texture node from "sRGB" to Either "Raw", "linear", or "non-Color"
    I was also having problems in Blender 3 getting the diffuse baking properly. Some areas were black. I had to put my diffuse output of my nodes into a "Diffuse BSDF" instead of the "principled BSDF"And then it worked. I also noticed there was not an option to bake the metalness map. So my workaround was to plug my metanless nodes into the "Diffuse BSDF" and bake diffuse. Kind of confusing, but it worked.

  • @zules
    @zules Před 2 lety +2

    Thanks so much! I needed to learn this today and this taught me what I needed.

  • @codykovatch
    @codykovatch Před 2 lety

    thank you very much, other videos i watched skipped many steps. This video helped me a lot

  • @littlemanul
    @littlemanul Před rokem +2

    Incredible video Ive been looking for someone to explain how baking actually worked

  • @chrissem5200
    @chrissem5200 Před 2 lety +3

    Why when I bake my texture turns out dark or black?

  • @mrphilipjwilliams
    @mrphilipjwilliams Před 2 lety +2

    Thank you. These videos are so clearly explained. Soooo helpful.

    • @UGuruz
      @UGuruz  Před 2 lety

      Glad you like them!

  • @Gamezoneadi
    @Gamezoneadi Před 2 lety +4

    Do we have to bake textures even if we export as .obj? Or will the texture information get stored in . Mtl file automatically according to the nodes?

  • @ABMultimediaDesigner
    @ABMultimediaDesigner Před 3 lety +2

    I'm actually glad you uploaded this as I got a very big Unity project im doing and gonna need this

  • @ccz4298
    @ccz4298 Před 2 lety

    very useful. Just solved my problem!!Thanks a lot

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

    Very nice video!! Thank u

  • @DavesChaoticBrain
    @DavesChaoticBrain Před 3 lety

    I've got a situation where 2 of my textures ONLY look good on the model when the UVs are scaled much larger than the little square of the texture. How do I deal with that?

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

    This is perfect!! Thank you so much

  • @hasanbasryand6880
    @hasanbasryand6880 Před 2 lety

    Hi. I'm wondering about such a thing. We can bake and output textures in the shading panel of the blender. For example, I created a lava flow, animation in the shading panel, so how do I output it? Also my main goal is to dump this output into an unreal engine.

  • @underground__
    @underground__ Před 2 lety

    when i imported it, it was all white with no textures, was the normal required? cause i didnt put it and now it ended up with no textures

  • @Jomoko89
    @Jomoko89 Před rokem +3

    10:29 "If anyone knows how to fix this issue please let me know in the commment section"
    Yes, the way to fix this is to create seams yourself in your mesh, in this case I would suggest creating a seam around the bun so that you have two pieces, you do this by edge selecting a ring around the bottom edge of the bun, right click (or left click depending on your blender settings) and choosing "mark as seam" with that ring of edges selected. Then you would select the whole bun in face edit mode, and right click to unwrap (just unwrap) then blender will unwrap the model based on the seams you made, and the bake should look way better.

  • @mats_3D
    @mats_3D Před 2 lety

    hi how create a mesh from texture i know is with bake emit but i cant do it when i do the final result es with bad quality

  • @palazede3610
    @palazede3610 Před rokem

    Great tutorial!

  • @nicolasportu
    @nicolasportu Před rokem

    Outstanding! I am having problems with Environment Texture + Texture Coordinate. Not baking correctly... any idea? Thanks!

  • @ericwei2585
    @ericwei2585 Před rokem

    Thanks, your video is very helpful

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

    thanks this helps!🙂

  • @samrat0077
    @samrat0077 Před rokem

    sir i need help ,how to export multiple texture( image texture exmple- using 4 image textutre earth in OBJ. formate in eevee from blender 3.0

  • @AINIMANIA-greenscreen
    @AINIMANIA-greenscreen Před 7 měsíci

    Holy shit, this is complicated stuff. Did not expect it to be this cumbersome.

  • @generalbleedous3212
    @generalbleedous3212 Před 3 lety +5

    the only way i know of how to fix the normals is that i add an extra stroke on uv border via photoshop that way when i generate my normal maps they are perfectly fine

  • @user-gq1ij
    @user-gq1ij Před 3 lety

    Did you not save the new baked files, how did it still worked

  • @pratyushbarikdev
    @pratyushbarikdev Před 3 lety +2

    I was thinking about this yesterday. Thanks.

  • @deadAdzy
    @deadAdzy Před 2 lety +1

    It keeps coming out black after the first step 7:07 im doing the exact same thing

  • @01Bluedragon
    @01Bluedragon Před rokem

    For me doing one texture the first one I tried baking it and nothing happened. :( please help.

  • @rnadeesh3d
    @rnadeesh3d Před 2 lety

    thank you it is Soooo helpful.

  • @red_velvet_0w0
    @red_velvet_0w0 Před 2 lety

    Great video, but for some reason i cant find my texture folder anywhere. help?

  • @matheusbatim4268
    @matheusbatim4268 Před 2 lety +1

    Nice tutorial! You helped me a lot! : )

    • @UGuruz
      @UGuruz  Před 2 lety +1

      Glad it helped!

  • @Sara-hk2vx
    @Sara-hk2vx Před 2 lety

    That was amazing, thank you so much!

    • @UGuruz
      @UGuruz  Před 2 lety

      You're so welcome!

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

    Thanks. Fast and easy.

  • @tahayassin964
    @tahayassin964 Před 2 lety +1

    I love you man you are great

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

    Purchased model and simple export without bake managed to export everything.. but..
    notice textures not in same positions. So I hope this tutorial will solve issue or even makes model look better :)

  • @jaysadwxs
    @jaysadwxs Před 2 lety

    is it possible to create a non textured model in blender --> put it in unity, then texture it in unity instead?

  • @ambitiousgamestudio4661
    @ambitiousgamestudio4661 Před 3 lety +3

    great tutorial sir....as always.

    • @UGuruz
      @UGuruz  Před 3 lety

      Glad you liked it

  • @maderfaker12100
    @maderfaker12100 Před 3 lety

    Great tutorial! Thank you sir

  • @dravertogaming4934
    @dravertogaming4934 Před 3 lety +1

    Nice textures

  • @wlsmdltn
    @wlsmdltn Před rokem

    Thank you!

  • @dat.guy_nitin5
    @dat.guy_nitin5 Před 3 lety

    A very Important Topic covered ..Thank you.

    • @UGuruz
      @UGuruz  Před 3 lety

      You are most welcome

  • @vishalkumarsingh6468
    @vishalkumarsingh6468 Před 3 lety +1

    Can you make same video on 3ds max to Unity.

  • @extramashup310
    @extramashup310 Před 2 lety

    Thanks! I know this sounds crazy, but Ive been stuck on this on almost 2 days

  • @codewithsrijan368
    @codewithsrijan368 Před 2 lety +1

    I am making a game like Subway Surfers where I need a curve world. But there are multiple objects (like train, dodge barrier, road etc.) with multiple materials. Is there anyway to have a single material for all the objects (In your case single material for the bread, cheese, fries etc. ie. the whole burger)?
    Searching for this for about a month. Thanks in advance :)

  • @OPENPCreviews
    @OPENPCreviews Před 2 lety +5

    You don't have to do that with the Tomatoe. Just go into Object Data Properties then go to UV Maps and create an ADDITIONAL UVMap. Make sure the original UV Map is set to the RENDER UV Map by having the camera icon on next to it, it's this way by DEFAULT. Then just select the new UV Map and then do a UV Unwrap and it will unwrap to that one and with it SELECTED will bake the texture to that UV Map. When you export it as an FBX you can either DELETE the original UV Map, OR in Unity tell it to select the ALTERNATE UV Map in the properties of the FBX file. Then it will properly map your baked texture onto the object in Unity.

  • @samafu2
    @samafu2 Před 2 lety

    Thank you, you save my project ^^

    • @UGuruz
      @UGuruz  Před 2 lety +1

      Glad it helped!

  • @tomboydiary8831
    @tomboydiary8831 Před rokem

    GENIUS!!!

  • @firefed
    @firefed Před 2 lety

    Thank You

  • @warrenography
    @warrenography Před 3 lety +1

    great, I'm about to start into Unity, to make my films. I have a zombie series episode 1 out on my channel and I have seen how the cinematics can be so nice and fast, and so in the future want to render out of unity.

  • @strezz1560
    @strezz1560 Před 2 lety +1

    So much hassle around that basic thing like importing assets.. Can't even imagine, I would have to import several dozens objects from Blender to Unity... Isn't there some more normal way of doing that?

  • @niravsuthar4994
    @niravsuthar4994 Před 2 lety

    Hii Guruz
    You can fix normal map issue by change color space sRGB to non color and its just blender vieport thing

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

    Wow!

  • @Doffu
    @Doffu Před rokem +1

    Please enable the Auto Closed Captions. This video seems useful but I was unable to follow because there was no CC to read along to.

  • @Tommy2Crazy
    @Tommy2Crazy Před 2 lety

    Havin trouble. When I export my sniper. I applied wood on the stock and metal textures on the barrel/scope, etc. They're image textures. I then followed the steps, but when I import it into the service I am using to make my game it's all covered in wood?

    • @dudeduder4176
      @dudeduder4176 Před 2 lety

      I think you need to join your objects in blender and make a new uv /rebake for the whole new object. I haven't done this yet though so idk

  • @ahmadbaihaqqi4309
    @ahmadbaihaqqi4309 Před 3 lety +1

    bro, can you make tutorial unity render likes blender render eevee?

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

    good admin

  • @TheSamez
    @TheSamez Před 2 lety

    Thanks good video :)

    • @UGuruz
      @UGuruz  Před 2 lety

      Glad you liked it!

  • @jhonysteak5512
    @jhonysteak5512 Před rokem

    I never managed to do something usable, I can do it without worries but nothing comparable to what I can do if I use each of the textures in photoshop and krita and others depending on the target software.
    I also tried simplebake, an easy to use addon but not able to bake properly.

    • @jhonysteak5512
      @jhonysteak5512 Před rokem

      For example if you apply this method with the same model and you do it well you will get the same result, but with a skin texture it will be unusable.

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

    When I uvwrap, my texture is flipped and not aligned like in original model.. :X

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

      Found fix..
      In Blender select 3d object, In Object Editor select menu "Data", expand menu "UV Maps" and create new UVMap which will be used for baking.

  • @kunkerkar
    @kunkerkar Před 3 lety +4

    Tasty!!😋

  • @maxd6878
    @maxd6878 Před 3 lety

    Thanks for this tutorial, but I've a question, can you export and bake animate shader or texture in Unity ?

    • @Mostach89
      @Mostach89 Před 2 lety +1

      maybe using image sequence instead of image texture? I'm not sure

  • @codyruf6806
    @codyruf6806 Před 2 lety

    i'm glad i'm watching this eating a burger :D

  • @samrudhdhondi5843
    @samrudhdhondi5843 Před 3 lety

    Hi sir I want to collaborate with you
    I can create 3d models

  • @TubebotGaming
    @TubebotGaming Před rokem

    im hungry now . thx

  • @timo1osYT
    @timo1osYT Před 2 lety +1

    For some reason, the texture maps and albedo doesn't get automatically applied? Any fix?

    • @strezz1560
      @strezz1560 Před 2 lety

      I'm joining to this question.. same for me

    • @krutoyinfo
      @krutoyinfo Před rokem

      @@strezz1560 Make new material, then apply baked textures to it. Delete procedural materials. Then export. This helped for me.

  • @reginadominique4357
    @reginadominique4357 Před 3 lety +1

    No active image found in material "material name" for object ""

    • @krutoyinfo
      @krutoyinfo Před rokem

      Delete all materials, make new materials, bake them, delete all, make new and apply baked textures

  • @goutam709
    @goutam709 Před 3 lety +1

    Sir can you make deep c# scripting videos

  • @clouddropleakz9087
    @clouddropleakz9087 Před rokem

    how do you bake glass texture?

    • @krutoyinfo
      @krutoyinfo Před rokem

      Impossible. You need to set same glass shader in unity, cause it's not texture - it's material.

  • @laleynaturaldelhombre4119

    i love it, very very very thanks... a lot...jesus

  • @armorguy5563
    @armorguy5563 Před 3 lety +1

    Maybe I should start using blender one of these days.

    • @krutoyinfo
      @krutoyinfo Před rokem

      nonono it's piece of shet

    • @armorguy5563
      @armorguy5563 Před rokem +1

      @@krutoyinfounfortunately it's too late, I already know how to use blender and I already made loads of models for myself :D

  • @beastash3003
    @beastash3003 Před 3 lety

    I am a new learner

  • @flixboi6741
    @flixboi6741 Před 3 lety

    I dare you to make the pie slice

  • @adbhutbharat176
    @adbhutbharat176 Před 3 lety +3

    Sir, I have been watching your videos for three months, your way of speaking and voice make me feel that you are Indian. Are you indian???

  • @michaelray5622
    @michaelray5622 Před 3 lety +2

    @4:12 is when he actually explains how to do what the title states.
    I almost skipped and gave up on your video due to waiting for you to actually get around to........what the title states. This seems to be a common issue with tutorials on YT because the majority do not care how the potatoes come before the meat so it helps to mention a time stamp of when you actually get to the meat of your title. Just a suggestion bro.Thanks.

    • @bydreaminc
      @bydreaminc Před 2 lety +1

      This tutorial seems to be more beginner friendly, so he's explaining in detail. Nothing wrong with that.
      Also, there's time stamps available.

  • @OduzzRocks
    @OduzzRocks Před 2 lety +1

    Using Blender to Bake a Burger??

  • @laleynaturaldelhombre4119

    do one but ligthing , to unity thas my real problem man...bye...from the last country in y the World

  • @myownthoughts969
    @myownthoughts969 Před 3 lety +1

    I think Someone baked it a little too long.. more like burnt.

  • @krutoyinfo
    @krutoyinfo Před rokem

    Should mention after fackin with blender & unity many hours - you should save baked textures in file, make a absolutely new material, then load saved textures to it. Or unity may not link textures to materials and you'll have to link them manually

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

    wow this is useless, I just wanna bake HDRP mask map.

  • @krutoyinfo
    @krutoyinfo Před rokem

    Stupid system