Improve UE5 Performance with LODs - AUTOMAGICALLY!

Поделиться
HTML-код
  • Опубликовано: 10 июл 2024
  • Well hello there. In this cheeky little video I will show you how you can take any static mesh in Unreal Engine 5 and set up LODs (level of detail) for it automatically in the static mesh editor. I'll also cover what the settings do and which ones you might want to change. If you find the video useful then give it a thumbs up :)
    PATREON
    Want to support my work and become a Game Dev Academy governor? Then check out the Patreon page & come and join us! ►► / shanewhittington
    DISCORD
    ♥ Join the Game Dev Academy Discord & get sorted into your Game Dev Academy house! - bit.ly/GDAdiscord ♥
    MORE TUTORIALS FROM ME
    Unreal Engine 4 for Beginners: • Unreal Engine 4 Tutori...
    Creating Your First Game in Unreal Engine 4: • Unreal Engine 4 Bluepr...
    Maya Tutorial for Beginners 2021 | 2022: • Maya Tutorial for Begi...
    MY PC SPECS (Affiliate links)
    CPU: amzn.to/30PEy7E
    GPU: amzn.to/2PPbnve
    Motherboard: amzn.to/30RfX21
    RAM: amzn.to/3fPxLz7
    PSU: amzn.to/2PN6bYL
    Case: amzn.to/3fSh0TT
    Keyboard: amzn.to/30PLfGM
    Monitor: amzn.to/2PQyl4S
    VIDEO CHAPTERS
    Introduction 00:00
    Automatically create LODs 00:49
    Preview LOD models 01:52
    Test LOD transitions 02:31
    Increase or decrease number of LOD levels 03:36
    Manually set number of triangles for LODs 04:45
    Manually change LOD transition distance 06:37
    Force LOD model & override minimum LOD 08:55
    Conclusion 10:23

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

  • @dfurball
    @dfurball Год назад +52

    13 years ago if you wanted to be a 3d modeler for video games then your whole job was making LOD models. It's a great time to be alive.

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

      😂😂😂

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

      You still have to.

    • @helix8847
      @helix8847 3 месяца назад

      @@NegaMogekoo Yeah you should still make your own LODs, in the example given in the video I can see it triangulates flat surfaces which is not needed.

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

    I'm just happy I grow up in an era where all these kind of tools are available...for free.

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

      Still......if you don't have necessary knowledge, you can't create a game alone, it's just impossible, if you don't understand the code you follow by tutorials. Cuz game creation involves lot of different professions involved, programmer in theory can create the game solo, but it won't be appealing visually, and artist won't create anything complex cuz he does not know how to code:D

  • @globaled1694
    @globaled1694 Месяц назад +1

    ive been putting this aside because i thought it would take a whole day to figure out.. crazy

  • @TheMetaEducator
    @TheMetaEducator Месяц назад +1

    Super helpful. Thank you.

  • @VivoVadim
    @VivoVadim 3 месяца назад

    Awesome tutorial, thanks!

  • @LinkyDinkyDoodle
    @LinkyDinkyDoodle 7 месяцев назад

    Very helpful, thank you!

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

    Thanks! Very usefull I Liked it!

  • @iPEMiC.
    @iPEMiC. Год назад

    Useful, thanks a lot!

  • @TheFrostedfirefly
    @TheFrostedfirefly Год назад +9

    I've always known about LODs but seeing how UE5 handles them is really interesting! Thanks for the video! This was really easy to understand!

  • @arjaywheeler
    @arjaywheeler 5 месяцев назад +1

    Great tutorial, i watched two others before this and i got the basic idea but you explained this really well and with enough depth. Thanks

    • @GameDevAcademy
      @GameDevAcademy  5 месяцев назад

      It's what I do.
      Thanks for watching 👍

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

    Wow, thank you so much, I never thought that ue had such a feature!

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

    learned a lot here, subbed - thanks a million for the info!!! too lazy to read through the documentation lol.

  • @omiorahman6283
    @omiorahman6283 5 месяцев назад

    Thank you for this tutorial this saved weeks of work

  • @Suleyk95
    @Suleyk95 5 месяцев назад +1

    Just giving the algorithm some good signals. Great video, short and packed with useful info, perfect format for learning while having ADHD hahaha.

    • @GameDevAcademy
      @GameDevAcademy  5 месяцев назад +1

      Thanks for the positive algorithm vibes :)

  • @XsK5
    @XsK5 Год назад +4

    This is EXACTLY what I needed. I downloaded some assets from the store that are just nanite, so some models are like 20k polygons. I swapped them to LODs but still, LOD 0 with 20k is a LOT for just a single mesh. Changing the LOD 0 (ironically you mention that you don't want to do that :D) to a much lower number was so helpful. Now these 20k meshes are reduced to 3k, and it took me 1 minute :)

    • @Readous
      @Readous Год назад +1

      Why do you need LODs if you're using Nanite? Nanite is essentially a LOD system already. A 20k poly nanite mesh isnt rendering 20k all the time, it reduces the count the further away you are

    • @XsK5
      @XsK5 Год назад +1

      @@Readous The thing is that most pcs can't really utilize nanite, as of today, and as far as I know. So it's still a safer bet to go for low polys with LODs. Don't take my word for it tho, I am no expert.

  • @MateoTheDev
    @MateoTheDev Год назад +1

    Damn love you man tnx

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

    _Dude,_ this is *_tremendous!_* *_HOLY SHIT!_* 👀

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

    nice

  • @user-el2jv2nn5c
    @user-el2jv2nn5c 4 месяца назад

    So when you changed the LOD group to large prop, and it did the calculating, does it store all the new LOD meshes somewhere in your content drawer? Or does it somehow just edit the original mesh while the game is being played?
    Also, its crazy how much this boosts performance, things like this aren't emphasised enough... Surely UE5 automatically does this for each asset if you dont manually go through these steps?
    Also, at the point of transitions between assets, surely there is some performance drop because the gpu/cpu has to switch the assets? Which means its probably not beneficial to have too many LOD's for a model...
    Also, sometimes you may be happy with a lower level LOD at a certain angle, as opposed to distance, from the camera, is there a way to mark the angles that certain LOD's of assets should render at?

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

    Hey quick question for anyone. Does someone knows if it is possible to apply lod to every meshes that i have in one manip ? or do i have to make it one by one ?
    Otherwise, very complete and amazing video, im slowly abandoning nanite and i was afraid to work with lod because i though i had to spend a ton of time to settle it. unreal is trully powerfull.

  • @luckycogstudios
    @luckycogstudios 3 месяца назад

    Can you make the highest detailed LOD object a blueprint actor so it's interactable?

  • @TROYSOLLY
    @TROYSOLLY 3 месяца назад

    yes

  • @storyteller.2024
    @storyteller.2024 12 дней назад

    If I Force a LOD can i Still switch between them as I get away from the object?

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

    Do you know how to efficiently manage rendering/draw distance for open world "chunks/parts" ? i have terrain meshes with the dize of 31 507 x 31 507 meters and desired max draw distance to 45k, but some of my terrain meshes appear and disappear very strangely when i move by the world/move my chird person camera. The only "solution" i have so far is increase desired max draw distance to 150k, but that's very high value what you think?:)

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

    I deleted the project I had been working on for months just because Lods was getting high fps, and 2 months later I came across this video, it's like a joke :D

  • @marcinesa1336
    @marcinesa1336 10 месяцев назад

    pls tuturial with grass from megascane ...

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

    Let's say you manually add a LOD by uploading an FBX, if that LOD and the original model don't match shape, they cast weird shadows on each other. What causes this and can it be avoided? Not that I don't like auto LODs, I was just wondering what this self-shadowing issue was all about. (5.2.1) When using auto-LODs the issue doesnt seem to appear.

  • @IFiOstudio
    @IFiOstudio 6 месяцев назад

    is it better to use LOD or nanite?

    • @GameDevAcademy
      @GameDevAcademy  6 месяцев назад

      It depends on your target platform really. Not all platforms support nanite.

  • @zon.23
    @zon.23 Год назад

    can you make a video about all maps in maya. Normel map etc...

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

      What do you mean? Like what they are? What they do? How to use them? How to make them?

    • @zon.23
      @zon.23 Год назад

      How to use them? How to make them?

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

    Is there texture LOD... like you have a simple plane but high texture

    • @MarcusBuer
      @MarcusBuer 5 месяцев назад

      Yes, it is called mipmaps.

  • @xomvoid_akaluchiru_987
    @xomvoid_akaluchiru_987 Год назад +1

    Does having more LODs make the game harder to run? Surely you would want more than just 5 LODs for a model, you really don't need that many triangles if you're 20 meters away, but adding more LODs would increase the RAM requirements right? I wonder if multi instancing would help with the RAM requirements?

    • @potatoman2442
      @potatoman2442 5 месяцев назад

      I think it's just more ram and disk space

  • @peter486
    @peter486 6 месяцев назад

    but with naite it fixes this right, dont have to think about it?

    • @GameDevAcademy
      @GameDevAcademy  6 месяцев назад

      In theory, but this does take more system resources than LOD and Nanite isn't supported on all platforms.

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

    I think turning on nanite is easier and faster in performance, why do you not choose it?

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

      Nanite is not supported on all platforms. I am planning on releasing a video covering Nanite next though.

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

      @@GameDevAcademy I'm excited for this. Thanks!

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

      ​@@GameDevAcademy I hope manual LODs are never needed past 2023

    • @xaby996
      @xaby996 11 месяцев назад +1

      Nanite is bad

    • @MarcusBuer
      @MarcusBuer 5 месяцев назад

      You should not rely on Nanite. It is not an excuse not to use LODs.
      Lots of modern games tried using nanite only and it bit them on their arses.
      When in doubt follow fortnite (made by the same company as the engine): It has nanite but allows you to disable and use LODs instead. This allows you to run on more platforms and on older hardware, while still keeping the benefits of nanite on newer hardware.

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

    hey can you teach charactor modling in maya female or male.

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

    💯
    ✌👏🖖