How to Bake Textures in Blender and Export to Unity

Поделиться
HTML-код
  • Опубликовано: 18 дек 2024

Комментарии • 122

  • @iiizeroiii1636
    @iiizeroiii1636 3 года назад +27

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

  • @karanpratapsingh5022
    @karanpratapsingh5022 3 года назад +120

    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  3 года назад +13

      Thanks for your feedback. I would definitely try this.

  • @ykyjohn
    @ykyjohn 3 года назад +60

    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.

  • @Chiu-Pin
    @Chiu-Pin 3 года назад +22

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

  • @adamliss9090
    @adamliss9090 Год назад +3

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

  • @renegaderaid
    @renegaderaid Год назад +21

    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

    • @himanshrasal
      @himanshrasal 4 месяца назад

      skill issue

    • @jwsb350
      @jwsb350 4 месяца назад +6

      @@himanshrasalit’s not a skill issue it’s the fact that it’s extremely fucking tedious for no damn reason at all

  • @scotchtapeworm3755
    @scotchtapeworm3755 2 года назад +10

    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.

    • @Gowy_YT
      @Gowy_YT 2 месяца назад

      Oh thank you so much! ❤

  • @littlemanul
    @littlemanul Год назад +2

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

  • @Jomoko89
    @Jomoko89 2 года назад +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.

  • @AINIMANIA-3D
    @AINIMANIA-3D Год назад

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

  • @pratyushbarikdev
    @pratyushbarikdev 3 года назад +2

    I was thinking about this yesterday. Thanks.

  • @mrphilipjwilliams
    @mrphilipjwilliams 2 года назад +2

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

    • @UGuruz
      @UGuruz  2 года назад

      Glad you like them!

  • @zules
    @zules 2 года назад +2

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

  • @scottjensen7555
    @scottjensen7555 Год назад

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

  • @ambitiousgamestudio4661
    @ambitiousgamestudio4661 3 года назад +3

    great tutorial sir....as always.

    • @UGuruz
      @UGuruz  3 года назад

      Glad you liked it

  • @codykovatch
    @codykovatch 2 года назад

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

  • @BartMassee
    @BartMassee Месяц назад

    Thank you, Sir! lovely and clear explanation, Happy Diwali❤

  • @Gamezoneadi
    @Gamezoneadi 3 года назад +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?

  • @Doffu
    @Doffu 2 года назад +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.

  • @OPENPCreviews
    @OPENPCreviews 2 года назад +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.

  • @deadAdzy
    @deadAdzy 3 года назад +1

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

  • @ABMultimediaDesigner
    @ABMultimediaDesigner 3 года назад +2

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

  • @tahayassin964
    @tahayassin964 2 года назад +1

    I love you man you are great

  • @bananaCute18
    @bananaCute18 9 месяцев назад

    This is perfect!! Thank you so much

  • @jstmromek
    @jstmromek Год назад

    Thanks. Fast and easy.

  • @extramashup310
    @extramashup310 2 года назад

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

  • @generalbleedous3212
    @generalbleedous3212 3 года назад +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

  • @ccz4298
    @ccz4298 2 года назад

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

  • @ferieldjelil7871
    @ferieldjelil7871 11 месяцев назад

    Very nice video!! Thank u

  • @palazede3610
    @palazede3610 2 года назад

    Great tutorial!

  • @matheusbatim4268
    @matheusbatim4268 3 года назад +1

    Nice tutorial! You helped me a lot! : )

    • @UGuruz
      @UGuruz  3 года назад +1

      Glad it helped!

  • @codewithsrijan368
    @codewithsrijan368 2 года назад +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 :)

  • @dravertogaming4934
    @dravertogaming4934 3 года назад +1

    Nice textures

  • @nicolasportu
    @nicolasportu 2 года назад

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

  • @dat.guy_nitin5
    @dat.guy_nitin5 3 года назад

    A very Important Topic covered ..Thank you.

    • @UGuruz
      @UGuruz  3 года назад

      You are most welcome

  • @ericwei2585
    @ericwei2585 2 года назад

    Thanks, your video is very helpful

  • @rinedz893
    @rinedz893 Месяц назад

    in the game using a lot of material for one single object will surely resource intensive for unity and it will have more draw calls.. i hope you have updated video for atlas map.

  • @cryptic121-c3f
    @cryptic121-c3f 3 года назад +1

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

  • @Sara-hk2vx
    @Sara-hk2vx 2 года назад

    That was amazing, thank you so much!

    • @UGuruz
      @UGuruz  2 года назад

      You're so welcome!

  • @maderfaker12100
    @maderfaker12100 3 года назад

    Great tutorial! Thank you sir

    • @UGuruz
      @UGuruz  3 года назад

      You are welcome!

  • @juhoreinikainen2556
    @juhoreinikainen2556 11 месяцев назад

    thanks this helps!🙂

  • @chrissem5200
    @chrissem5200 3 года назад +3

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

    • @RA3YT
      @RA3YT Месяц назад

      same

  • @red_velvet_0w0
    @red_velvet_0w0 2 года назад

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

  • @VKAYZ-e6v
    @VKAYZ-e6v 2 года назад

    thank you it is Soooo helpful.

  • @wlsmdltn
    @wlsmdltn 2 года назад

    Thank you!

  • @Mr.YeastMK
    @Mr.YeastMK 2 года назад

    Thank You

  • @samafu2
    @samafu2 3 года назад

    Thank you, you save my project ^^

    • @UGuruz
      @UGuruz  3 года назад +1

      Glad it helped!

  • @kunkerkar
    @kunkerkar 3 года назад +4

    Tasty!!😋

    • @UGuruz
      @UGuruz  3 года назад +3

      It is!

  • @hasanbasryand6880
    @hasanbasryand6880 2 года назад

    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.

  • @jhonysteak5512
    @jhonysteak5512 Год назад

    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 Год назад

      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.

  • @samrat0077
    @samrat0077 2 года назад

    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

  • @tomboydiary8831
    @tomboydiary8831 2 года назад

    GENIUS!!!

  • @mats_3D
    @mats_3D 2 года назад

    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

  • @timo1osYT
    @timo1osYT 3 года назад +1

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

    • @strezz1560
      @strezz1560 3 года назад

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

    • @krutoyinfo
      @krutoyinfo 2 года назад

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

  • @codyruf6806
    @codyruf6806 2 года назад

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

  • @reginadominique4357
    @reginadominique4357 3 года назад +1

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

    • @krutoyinfo
      @krutoyinfo 2 года назад

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

  • @underground__
    @underground__ 2 года назад

    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

  • @user-gq1ij
    @user-gq1ij 3 года назад

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

  • @pastuh
    @pastuh Год назад

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

  • @TheSamez
    @TheSamez 3 года назад

    Thanks good video :)

    • @UGuruz
      @UGuruz  3 года назад

      Glad you liked it!

  • @Tommy2Crazy
    @Tommy2Crazy 3 года назад

    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 3 года назад

      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

  • @cssource2685
    @cssource2685 Год назад

    good admin

  • @jaysadwxs
    @jaysadwxs 2 года назад

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

  • @warrenography
    @warrenography 3 года назад +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.

  • @pastuh
    @pastuh Год назад

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

    • @pastuh
      @pastuh 11 месяцев назад

      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.

  • @DavesChaoticBrain
    @DavesChaoticBrain 3 года назад

    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?

  • @ahmadbaihaqqi4309
    @ahmadbaihaqqi4309 3 года назад +1

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

  • @strezz1560
    @strezz1560 3 года назад +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 2 года назад

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

  • @01Bluedragon
    @01Bluedragon 2 года назад

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

  • @clouddropleakz9087
    @clouddropleakz9087 2 года назад

    how do you bake glass texture?

    • @krutoyinfo
      @krutoyinfo 2 года назад

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

  • @michaelray5622
    @michaelray5622 3 года назад +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 3 года назад +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.

  • @tsvet5804
    @tsvet5804 8 месяцев назад

    Wow!

  • @armorguy5563
    @armorguy5563 3 года назад +1

    Maybe I should start using blender one of these days.

    • @krutoyinfo
      @krutoyinfo 2 года назад

      nonono it's piece of shet

    • @armorguy5563
      @armorguy5563 2 года назад +1

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

  • @maxd6878
    @maxd6878 3 года назад

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

    • @Mostach89
      @Mostach89 3 года назад +1

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

  • @goutam709
    @goutam709 3 года назад +1

    Sir can you make deep c# scripting videos

  • @TubebotGaming
    @TubebotGaming 2 года назад

    im hungry now . thx

  • @laleynaturaldelhombre4119
    @laleynaturaldelhombre4119 Год назад

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

  • @adbhutbharat176
    @adbhutbharat176 3 года назад +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???

    • @UGuruz
      @UGuruz  3 года назад +4

      Yes I am

  • @samrudhdhondi5843
    @samrudhdhondi5843 3 года назад

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

  • @kilfahjey
    @kilfahjey Месяц назад

    The patty sticking out of cheeee I can't

  • @beastash3003
    @beastash3003 3 года назад

    I am a new learner

  • @flixboi6741
    @flixboi6741 3 года назад

    I dare you to make the pie slice

  • @myownthoughts969
    @myownthoughts969 3 года назад +1

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

  • @OduzzRocks
    @OduzzRocks 3 года назад +1

    Using Blender to Bake a Burger??

  • @laleynaturaldelhombre4119
    @laleynaturaldelhombre4119 Год назад

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

  • @krutoyinfo
    @krutoyinfo 2 года назад

    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 Год назад

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

  • @krutoyinfo
    @krutoyinfo 2 года назад

    Stupid system