How to Make a Stylized Tree by using Blender and Unity

Поділитися
Вставка
  • Опубліковано 19 лют 2021
  • Welcome to join my Patrons with some other benefits. Buy me a coffee if this video could give you a little bit help, your support will give me more power to make more good videos! Thanks!
    / gamedevlobeyjon
    Another video about improving smoothness of the leaf branch shadow: • How to make the tree l...
    Tools used in this tutorial:
    Blender v2.83
    Unity 2019.4 (LTS)
    PhotoShop 2019
  • Ігри

КОМЕНТАРІ • 168

  • @thethirdkate
    @thethirdkate 2 роки тому +5

    At first I was daunted by the length of the video but it's actually a great pace to follow along without having to keep pausing. Thanks!

  • @surrogatpappan
    @surrogatpappan Рік тому +1

    A very under utilized technique.
    Works great with toon shading.
    Keep up the great tutorials!

  • @damianszymanski5301
    @damianszymanski5301 2 роки тому +22

    For anyone who needs to know like I did, the resolution texture for the leaves that he used is 512 x 512

    • @ra3diantart651
      @ra3diantart651 2 роки тому

      I can't figure out how to get my leaf texture from Blender to Unity, he skipped that step and I mess up my tree file trying to figure it out by following a different tutorial video on baking textures. So now I have to make a new tree from scratch and probably follow this tutorial all over again...wish he included that step for us beginners....

    • @damianszymanski5301
      @damianszymanski5301 2 роки тому

      @@ra3diantart651 he creates the texture in photoshop and imports that into unity

  • @Palerider1011
    @Palerider1011 3 роки тому +37

    Great tutorial. I've watched a lot of these, you're the first that showed how to make LODs. Thanks, great job!

  • @dominiklist8336
    @dominiklist8336 3 роки тому +7

    One of the best videos I saw in a while!
    Thank you very much for your time and effort.

  • @Xavaltir
    @Xavaltir 3 роки тому +10

    Fast & Simple tip for the tree trunk LOD, use the decimate modifier and it'll do the work for you, but be carefull that you dont set the value too low or you are gonna get some crazy looking trunks :)

  • @neoline5831
    @neoline5831 8 місяців тому

    This is the only tutorial i could actually follow and get great results. Thank you!

  • @hoomanAstronaut
    @hoomanAstronaut Рік тому

    the best stylized tree making tutorial i've ever seen

  • @Clinterpottrmus
    @Clinterpottrmus Рік тому

    Thank you so much, this is the most straight forward tutorial for this I've seen. Just what I was looking for

  • @AWanderingOrc
    @AWanderingOrc 3 роки тому +2

    This is a beautiful result. Thank you for sharing :)

  • @kazekageno7711
    @kazekageno7711 2 роки тому

    Thank you very much! I knew this was possible in Blender but I didn't know how. You have my thanks.

  • @erikm9768
    @erikm9768 9 місяців тому

    Amazing work, really appreciate this tutorial. Have subscribed and looking forward to more content like this!

  • @karandhir2411
    @karandhir2411 2 роки тому

    You are amazing, please keep making such awesome videos. Cannot thank you enough!

  • @coledanson6507
    @coledanson6507 3 роки тому +3

    Wow, 42 minutes. Thanks a lot for this detailed tutorial! :)

  • @desertedislander
    @desertedislander 3 роки тому +5

    I'm just getting started with playing around with unity and programming. I'm really happy to find helpful channels like yours. Stay awesome!

    • @lobeyjongamedev676
      @lobeyjongamedev676  3 роки тому +1

      Thank you! I'm so happy it could help you! I will keep update more useful videos!

  • @holgerchristensen4021
    @holgerchristensen4021 2 роки тому +2

    Great work. I ended up making some pretty nifty trees after your tutorial.

  • @manai2683
    @manai2683 2 роки тому +2

    13:30 I think Convert is now Make Instances Real

  •  2 роки тому +2

    thank you so much! this was very helpful, I changed the material for Lit, to work with the URP, as you did in the animation tutorial, and works great!

    • @lobeyjongamedev676
      @lobeyjongamedev676  2 роки тому

      Thank you so much! I will make more useful videos in future!

  • @th3lazyguy
    @th3lazyguy 2 роки тому +1

    Very nicely explained. Thank you...

  • @Game_with_me-r6j
    @Game_with_me-r6j 3 роки тому +2

    Good work and worth watching.

  • @mohammadalaaelghamry8010
    @mohammadalaaelghamry8010 3 роки тому +1

    That is a great video, thank you LoBeyJon

  • @wilhelmvonc
    @wilhelmvonc 3 роки тому +1

    Damn ! Sweet ! Finally someone make this kinda stylized tutorial. Thanks !

  • @victorAgain00
    @victorAgain00 3 роки тому

    👏👏I can't thank you enough. Awesome Video

  • @Denny0707
    @Denny0707 Рік тому

    Amazing tutorial! Thank you!

  •  2 роки тому

    Amazing tutorial mate!!

  • @MissRandomCutie
    @MissRandomCutie Рік тому

    Super good video! So happy with my results :D TY!!

  • @AmallieGames
    @AmallieGames 3 роки тому +16

    I would love a part 2 on doing an adjustable shader to add movement to the leaves as if there is wind. I've been attempting this but kind of struggle with shaders still.

    • @oozly9291
      @oozly9291 3 роки тому

      Did you improve it?

    • @Jake-pw9fw
      @Jake-pw9fw 2 роки тому +1

      I know this is old but a good way to do this would be with a vertex displacement shader. Use some kind of noise to move the x/y vertexes of the leaves.

  • @simon.in.motion
    @simon.in.motion 4 місяці тому

    Amazing tutorial thanks !

  • @Dezomm
    @Dezomm 3 роки тому +3

    I learned a lot, thank you so much!

  • @ferhat3223
    @ferhat3223 3 роки тому +1

    I am very pleased, thanks my friend.

  • @acciator
    @acciator Рік тому

    You help me a lot. Thank you so much.

  • @GilbertGames
    @GilbertGames 3 роки тому +3

    Thank you!!! Even included lod tutorial amazing

  • @qarwill
    @qarwill 3 роки тому +2

    Really cool!!!

  • @luizfellipe1206
    @luizfellipe1206 2 роки тому +1

    Amazing tutorial

  • @Resolution001
    @Resolution001 5 місяців тому

    Hey dude really good tutorial thank you

  • @TheSkyGirl_o
    @TheSkyGirl_o Рік тому

    its so so easy thank you man

  • @NattyGameDev
    @NattyGameDev 3 роки тому

    Great Video! Thank's so much ! You have definitely earned a new subscriber! :)

  • @user-pt8qj6hd7c
    @user-pt8qj6hd7c Рік тому

    Great tutorial!!

  • @codyvandal2860
    @codyvandal2860 3 роки тому +2

    Nice job

  • @yoloactual6975
    @yoloactual6975 3 роки тому +2

    Fantastic video tutorial, I only wish there was more detail on how you went about making the leaf texture, if there is even any specific way in which you did it.

    • @lobeyjongamedev676
      @lobeyjongamedev676  3 роки тому +1

      Hmmm, there is nothing special about the leaves, just using transform tools in photoshop and put them with some randomness.

    • @yoloactual6975
      @yoloactual6975 3 роки тому

      @@lobeyjongamedev676 Ah ok, It's just an odd bit that ive seen omitted in a few videos now for alphas, and I was unsure of how to necessarily go about it. Thank you though.

  • @Obliviander
    @Obliviander 2 роки тому +7

    For anyone that can't set the blend mode to alpha clip, it's because you are in cycles render engine, set it to Evee and it should work. I was so confused, figured it out after struggling for 10min. Hope it can help someone out there.

  • @Sober-MindedYT
    @Sober-MindedYT 2 роки тому +1

    Wow man that's awesome!!! I'm using blender for 1 year and know a lot already, but your tutorials are perfect even for absolute beginners. Thanks👍

  • @ciixok7271
    @ciixok7271 3 роки тому +1

    I've been messing with my tree LOD, tried to render branches on one image but nothing seemed to work, magical words of particle number divide by 5, hair length multiply by 2 saved me, thx :D

  • @arcadebox
    @arcadebox 3 роки тому +1

    best tuto ever

  • @Yohohohon
    @Yohohohon Рік тому

    now, this is epic

  • @azozalnuaimy1541
    @azozalnuaimy1541 2 роки тому

    thank you

  • @GlassesAndCoffeeMugs
    @GlassesAndCoffeeMugs 2 роки тому +4

    If you're having issues with Alpha clip, make sure to HIDE the spheres so only the leaf mesh is showing. Otherwise it will look like the alpha doesn't work

    • @nickhasselbach5778
      @nickhasselbach5778 2 роки тому +1

      This is something that is surprisingly hard to find. Should the alpha map be white and black, with the black being the transparent parts? Or should I delete the transparent parts completely via a png file?
      Thank you for any help

    • @GlassesAndCoffeeMugs
      @GlassesAndCoffeeMugs 2 роки тому +2

      @@nickhasselbach5778 I found a leaf texture, added an alpha channel, and removed the background. So no messing with black or white, simply having a transparent background should be enough.

    • @nickhasselbach5778
      @nickhasselbach5778 2 роки тому +1

      @@GlassesAndCoffeeMugs
      would you by any chance be able to send me a copy of the blender file of the tree? there is some setting or something that is off. The leaves disappear completely when I set the blend mode to alpha clip.

  • @bagwelltheodore2166
    @bagwelltheodore2166 2 роки тому +1

    You are my Savior. Thanks a lot

  • @adri325
    @adri325 2 роки тому +5

    Could you share how to do the leaf shader using shader graph?, btw, good tutorial

  • @theearthburner6159
    @theearthburner6159 3 роки тому +1

    you deserve more subscribers and views

  • @KingShresthaManffs
    @KingShresthaManffs 3 роки тому

    thxs man

  • @jonask2405
    @jonask2405 2 роки тому

    awesome :)

  • @farbod376
    @farbod376 10 місяців тому

    GREAT lecture , thank you , i have a question, is it possible to use the same procedure for any object or material in unity ? like basically make a environment with this shader?

  • @sivag2453
    @sivag2453 Рік тому

    thanks for the great tutorial, My URP Shader animated leave mesh is moving away when moving the Global of Tree, please let me know if anyone found this issue.

  • @jaketidiman9233
    @jaketidiman9233 5 місяців тому +1

    Hi thanks for the great video! Im trying to add my wind shader from shader graph to the leaves but doesnt have any effect, any ideas?

  • @rofla4228
    @rofla4228 Рік тому +2

    I have unity version 2021.3.5f 1 and after adding a shader on the leaf material, the leaves become like a texture and at the same time remain plain, also I can't change the color. Maybe because the shader dropdown doesn't have what you have. Is there a solution to this problem?

  • @phee3D
    @phee3D 3 роки тому +1

    subscribed and liked, please keep making more tutorials! Also a question: is there any specific reason why you used built in render pipeline instead of URP?

    • @lobeyjongamedev676
      @lobeyjongamedev676  3 роки тому +1

      Thanks! I will try my best to make more useful tutorials! There is no reason... I will try to use URP to make shader tutorials in future because write code maybe painful for some guys :)

    • @phee3D
      @phee3D 3 роки тому +1

      @@lobeyjongamedev676 I see, makes sense thanks for replying! I was just curious, I shifted to built in pipeline from URP recently due to lack of documentation especially for writing custom shaders.

  • @ppk2373
    @ppk2373 3 роки тому +1

    nice tutorial! but what's the BGM music called?

  • @lakshayyadav2865
    @lakshayyadav2865 2 роки тому

    LESGO THANKS A LOT

  • @ra3diantart651
    @ra3diantart651 2 роки тому +1

    Appologises if this is a dumb question, but I cannot figure out how you are exporting the leaf texture into Unity? I tried just opening the image into the texture folder but it just shows as an image and its no longer transparent, the transparency turns black inside Unity. Does it have to be export from Blender?

  • @ererbe
    @ererbe 2 роки тому

    do you know why some branches of the tree wont get affected by the curve resolution?
    just wondering - also because it really would waste some vertecies you really dont need...

  • @omegacygnusgames4703
    @omegacygnusgames4703 3 роки тому

    Nice tutorial! Thanks! Let me ask.. How many faces on the final model? You think is a "light" model for game performance?

  • @mlifj3521
    @mlifj3521 2 роки тому

    How do you change your mouse yellow color when you sculpting ? Yours is attached to the object but Mine is green and detached to the object

  • @O_z_z_i
    @O_z_z_i 2 роки тому

    Thx for video. But, one question:
    Why dont "join" (ctrl + j) all spheres into one and hang particles on it?

  • @melissasutton8280
    @melissasutton8280 2 роки тому +1

    Grear Tutorial.
    I'm struggling with the standard surface shader script. Followed that part of the video 3 times. My tree is purple and I can't find my mistake. It looks exactly like the one in the video. The error is Shader error in 'Leaf': Parse error; syntax error, unexpected TOK_COLOR, expecting'{' at line 5. Can you maybe help

  • @KalponicGames
    @KalponicGames 2 роки тому +1

    how about game performance with this trees say like 100 of them in a single scene. Is this method optimized to be used in games?

  • @giulianoscalamandre1555
    @giulianoscalamandre1555 2 роки тому +1

    how to make it work in urp? is it the same as for the shader code? I've tried but it turns purple

  • @yourstruly8590
    @yourstruly8590 5 місяців тому

    To anyone hving problem with alpha texture for leaves:
    Basically just make leaf shape with transparent background (not black color but TRANSPARENT (no background color)- ensure this. I ran through free transparent alpha texture online but when i open it in ps, its not really transparent. The transparency is not transparent idk how to explain it but anyway double check!!

  • @dionatashenrique9713
    @dionatashenrique9713 3 місяці тому

    how I add this leafs falling from off tree?

  • @ahmetomercicek5848
    @ahmetomercicek5848 Рік тому +1

    I made the tree in blender. Just like you did the export process. When I export it to the Unity engine, black overlays appear on the frame of the leaves. How can I fix the appearance of the leaves. Can you help ?

  • @aryanshanker9169
    @aryanshanker9169 3 роки тому +2

    can you please upload your files, thanks for the video.

  • @mlifj3521
    @mlifj3521 2 роки тому +1

    Why do you make the sphere ? What’s for?? Thank you for your tutorial

    • @lobeyjongamedev676
      @lobeyjongamedev676  2 роки тому

      The sphere is used to modify the tree leaves' normal to get a smooth shadow

  • @NopeSecret
    @NopeSecret Рік тому

    Great Tutorial :)

  • @jessicaemerson5010
    @jessicaemerson5010 Рік тому

    I have pink leaves. Does the leaf shader work with urp?

  • @matthieusommervogel1248
    @matthieusommervogel1248 3 роки тому

    Hi Thank you ! Can we make this for the URP ? Is it the same or have we to do some changes ?

    • @lobeyjongamedev676
      @lobeyjongamedev676  3 роки тому +1

      There has a video implementing the trees in this video as well as leaf animation. You could find it in my channel :)

  • @piyushguptaji402
    @piyushguptaji402 Рік тому +1

    can you plz provide source files, so we can check if we get stuck

  • @kippiechick9657
    @kippiechick9657 3 роки тому

    11:19 whenever I click on my model and try to drag it to the one that already has a system it doesnt work. I simply select it. I cant google it because I dont know if this is an existing problem and if so what its called

    • @lobeyjongamedev676
      @lobeyjongamedev676  3 роки тому +1

      Hi, I'm not sure whether you are copying the Particle Settings from one object to another? If so, there are no "drag" operation, the steps in Blender 2.83 should be:
      1. Select the destination object you want copy Particle Settings to;
      2. Press Shift, then select the source object which you want copy Particle Settings from;
      3. Use "Copy Active to Selected Objects" in video to copy settings;
      4. Click "Make a Single User Copy" to break the link of Particle Settings between above two objects.

  • @onigiri8030
    @onigiri8030 2 роки тому +1

    what pipeline did you use?
    i use unity 2021 with urp.im following the tutorial but when i use the shader, the material become purple. do you know how to fix it?
    great tutorial

    • @lobeyjongamedev676
      @lobeyjongamedev676  2 роки тому

      Unity 2020.3.10 with URP 10.5.1.
      There should has shader errors if the material is purple, maybe I can figure out what happened on your side if you send me the error :)

  • @dasigkatama029
    @dasigkatama029 3 роки тому

    can you share the leaf png you made?

  • @saiadin100
    @saiadin100 Рік тому

    Hey to render in blender the normals doesn't works well, do you know why?

  • @seemantadebdas294
    @seemantadebdas294 3 роки тому

    Great tutorial! But I'm having this problem where the skybox is partially black. I copied your values still it isn't matching yours. The ground's fine but instead of the sky being blue, it's black. Can you help me out please

    • @lobeyjongamedev676
      @lobeyjongamedev676  3 роки тому

      Are you using HDRP or URP? HDRP need some other settings to avoid the sky black.

  • @marlonoscar1471
    @marlonoscar1471 Рік тому

    can you help me? when I drag the shader to the plant material they turn pink even doing everything the same as you did

  • @antonkonig8820
    @antonkonig8820 Рік тому

    Can you upload the leaf texture pls

  • @lepetitpanda6928
    @lepetitpanda6928 3 роки тому +1

    Hi LoBeyJon ! Thank you for this tutorial ! I wanted to know, Standard Surface Shader doesn't work anymore with URP ? Because the shader leaf you did turns pink for me...

    • @lobeyjongamedev676
      @lobeyjongamedev676  3 роки тому +4

      Hi, I'm not sure if you want to transfer this shader to HLSL shader or just shader graph in URP. In my another video about how to make leaf animation in URP will show you the steps about how to transfer this surf shader to URP shader graph. Hope it could help you :)

    • @lepetitpanda6928
      @lepetitpanda6928 3 роки тому

      @@lobeyjongamedev676 Thanks for the solution !

  • @lma_cristian
    @lma_cristian 11 місяців тому

    Muy bueno

  • @mikaelakihlman1169
    @mikaelakihlman1169 4 місяці тому

    does this work creating in maya aswell?

  • @omargonzalez3180
    @omargonzalez3180 2 роки тому

    I have a problem with the Shader, It tells me that SRP Batcher is not Compatible :c

  • @mareks2233
    @mareks2233 2 роки тому

    can someone explain what he did with leaves? why when exported as png they are white, but in photoshop he drawed them with green color ( i am complete idiot when something is related to photoshop) i don't even know if i asked correctly XD!
    (EDIT) dont know what, how , and why? but i made my leaves work.....

  • @seanpatrickkennedy
    @seanpatrickkennedy 3 роки тому +3

    What size was your leaf texture? 512 x 512 or 256 x 256?

  • @keremaslan1988
    @keremaslan1988 2 роки тому

    I have two questions, hope someone can answer quickly.
    1- Are these trees performance heavy? I want to use 20-25 of them in my scene, do they cause a big fps drop?
    2- Is there anyway i can download the fbx file?

  • @vlarez712
    @vlarez712 2 роки тому

    17:50 Someone can tell me how to do this in 3ds max?

  • @alpha3836
    @alpha3836 2 роки тому +1

    For some reason I can't see any post processing at all, I'm trying to do this on URP. Any idea what's wrong?

    • @alpha3836
      @alpha3836 2 роки тому +1

      Nevermind I followed the next video and it worked perfectly!

  • @InvisaPotion
    @InvisaPotion 3 роки тому

    how do you import the leaf material into unity?

  • @ra3diantart651
    @ra3diantart651 2 роки тому

    Sigh. I've tried baking the texture, dragging and dropping the png file in all kinds of ways to try to get the leaf texture in Unity and I just cannot figure out how your leaf texture is just in there. I imported the tree exactly how you did it in the video. It just doesn't make any sense why I'm not getting the texture in here

  • @kuromajin7087
    @kuromajin7087 28 днів тому

    Is this URP? why mine is pink

  • @vionisy
    @vionisy 2 роки тому

    I can't add the leaf texture and If I make the Standard Surface Shader everything looks purple, any help? I am using URP

  • @nguyenhoangvan5637
    @nguyenhoangvan5637 3 роки тому +1

    Thanks bro, Why i choose Material for leaf - Blend mode to alpha clip - after that, i cannot see leaves ! Pls help

    • @nguyenhoangvan5637
      @nguyenhoangvan5637 3 роки тому +1

      Sr, my fault, i set ImageTextute Color node to alpha node Principle ^^. Thanks bro again

    • @lobeyjongamedev676
      @lobeyjongamedev676  2 роки тому

      Sounds great!

    • @nickhasselbach5778
      @nickhasselbach5778 2 роки тому

      hey, could you tell me how you made the texture? I simply can not figure out how to get the alpha to work, despite following the video step by step. i have tried with transparent background and white leaves, transparent background and green leaves, white background and green leaves...

  • @Mini-wd7qz
    @Mini-wd7qz Місяць тому

    Is laptop powerful enough or will it lag too much

  • @warmicebear1143
    @warmicebear1143 3 роки тому

    Your tutorial was very helpful! But after following the steps, the spheres still shows like it shows that the leaves are connected to the sphere. Could you please help me out?

    • @lobeyjongamedev676
      @lobeyjongamedev676  3 роки тому

      Sorry, would you please give more details about "the leaves are connected to the sphere"?

    • @warmicebear1143
      @warmicebear1143 3 роки тому

      @@lobeyjongamedev676 Yes, sure. For the particle properties of the sphere, I set the emission to 15 so when the leaves were attached, the sphere is still visible and peeking out. But after following the rest of the steps, the sphere is still visible. Did I miss a step?

    • @warmicebear1143
      @warmicebear1143 3 роки тому

      @@forecastumbrella1626 You're right! I was overthinking too much on it. That felt like missing a semi-column. Thank you for pointing it out.

  • @ankurmishra2106
    @ankurmishra2106 3 роки тому

    Which skybox are you using?