Unreal Engine Procedural Content Optimization: Boost Performance with These 3 Tips!

Sdílet
Vložit
  • čas přidán 16. 06. 2024
  • 3 expert tips that will help you achieve peak performance and stunning visual quality in your Unreal Engine projects utilizing procedural content generation.
    🎬 FREE TRAINING - courses.azielarts.com/registe...
    🎓 ONLINE COURSES - courses.azielarts.com/earlybi...
    💖 SUPPORT ME - www.azielarts.com/donate
    PCG TUTORIALS
    ⚡ MEDIEVAL TOWN - • Create Entire Cities A...
    ⚡ INTRO TO PCG - • Save Days! Procedural ...
    ⚡15 MINUTE PHOTOREAL WARZONE - • 15 Minute Photoreal Wa...
    ⚡ 7 MINUTE PHOTOREAL FOREST - • 7 Minute Photoreal For...
    ⚡ PCG LIVESTREAM - czcams.com/users/live7CKJ0rOzkYw
    CONNECT WITH THADDAEUS
    ◇ WEBSITE - tandreades.com/
    ◇ INSTAGRAM - / thaddaeus_makes
    ◇ ARTSTATION - www.artstation.com/thaddaeus
    GEAR
    ◇ CAMERA - amzn.to/3mAnjF7
    ◇ LENS - amzn.to/48f9fDE
    ◇ LIGHT - amzn.to/48gp5xV
    ◇ SOFTBOX - amzn.to/3PBNwP5
    ◇ MICROPHONE - amzn.to/3KY6Nrq
    ◇ AUDIO INTERFACE amzn.to/3Zepa14
    COMPUTER
    ◇ GPU - amzn.to/45OuUBc
    ◇ CPU - amzn.to/3om6WMG
  • Krátké a kreslené filmy

Komentáře • 80

  • @rezadaneshmand
    @rezadaneshmand Před 7 měsíci +1

    I’m looking forward to trying out the mesh instance and stamp feature. Thank you for another insightful guide. Please continue to make these videos. I have been subscribed and learning from you for a few months now.

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

    Another great tutorial. Not too long, not too short with the right amount of info. Thank you!

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

      Yo thanks so much for that!! I will keep them coming

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

    So much great infos there ! Thank you

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

    Very helpfull!!!! Thank you!

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

      No problem! Glad they worked for you!

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

    Great tips!

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

    amazing tips! so helpfull.....thanks for that!

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

      You are welcome!! Rock on 💪

  • @gameartmentor
    @gameartmentor Před 7 měsíci +1

    This is fantastic optimization technique.

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

      Yay super glad it was helpful 👍

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

    I really appreciate you man

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

      Yo thanks so much. I am so happy you found it helpful. Question: Any other topics or problems you are having that I could help out with a video on?

  • @user-pb5mq1qs6n
    @user-pb5mq1qs6n Před 8 měsíci +2

    You have answered a question that has puzzled me for a long time. be grateful

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

      Right on! I am glad to hear that. Got any more questions?

    • @user-pb5mq1qs6n
      @user-pb5mq1qs6n Před 8 měsíci +1

      yes,When will your next video be released?@@azielarts

    • @user-pb5mq1qs6n
      @user-pb5mq1qs6n Před 8 měsíci +1

      yes,When will your next video be released?@@azielarts

    • @user-pb5mq1qs6n
      @user-pb5mq1qs6n Před 8 měsíci +1

      I’m so excited.

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

      @@user-pb5mq1qs6n haha I am excited as well!!! Probably on Monday it will be done. Working on editing now.

  • @hiromichael_ctranddevgames1097

    ultra dynamic sky legal or not?
    good tutorial!!
    thanks for tips

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

    Hero for this

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

    Thank you for the good tutorial.
    Do I need to erase the PCG graph before packaging? Do I need to delete the Stamp? Is it okay to exist both?

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

      I think it is ok for both, but I would just package with the stamp. Like exclude the folder with the PCG when packaging. You don't really want the extra logic in your game

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

      @@azielarts Thank you very much. Good day~!

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

    Just watched your video. Thanks for the tips! I have a question I am hoping you could answer or maybe turn into a video. So, I am using an actor spawner to spawn spline blueprints for flowers on my landscape so that I can get groups of flowers but it seems to tank performance loading all the blueprint actors. Is there a better, more performative way to group spawns together using the PCG?

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

    Why does clearing the PCG link and making a PCG stamp improve performance?
    I understand how it might improve load times, but if the PCG graph isnt running, why would it be taking up resources?
    i dont understand enough about PCG or stamping to understand what else might cause it. Does stamping turn it into a single large static mesh (in which case, nanite is probably non-optional)?

  • @kjet.l
    @kjet.l Před měsícem +1

    Fantastic PCG series. Is it possible to manually remove things (a house or two) from the generation without breaking the logic?

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

      Thanks so much, unfortunately not, you can use a volume or curve to cut out an area, so you could maybe just cut out the area where the house you don't want is being generated. Otherwise I would just hand place specific areas you need to be very specific

    • @kjet.l
      @kjet.l Před měsícem

      @@azielarts 3:51 - When you use stamp, the generated result is then regular assets that can be edited, right? Individually scale/rotate/remove a house for example. Does it work that way? I want to use PCG to fill up a blank canvas I can manually edit after a "stamp". Assets needs to be separated and not one big static mesh/stamp I can't do anything with.

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

    nanite meshes have issues with nav mesh generation

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

    Changing a large landscape, such as the 8161x8161 I have, to nanite creates too much of a performance overhead at the moment. It shouldn't, but at the moment it seems that very large landscapes never seem to get the love from Unreal.

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

      Dang ok, that is really good to know!

  • @sleonhart
    @sleonhart Před 8 měsíci +3

    Any idea why the instance data packer type is set to none by default? Seems like PCG would always create a bunch of assets using the same mesh so if this improves performance it should always be on...?

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

      I think it is because they don't have a way of automatically unpacking when you make changes or ad meshes, so they leave it off by default. But that is just a theory

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

      @@azielarts makes sense, thanks :)

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

      @@azielarts It would also get very annoying to have to wait for that to process every time you make a change or to have that constantly processing in the background.

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

    Another great video!! Except for me, I can't get any mesh to prove it is rendering Nanite because the meshes don't show up in the triangles visualization. The source mesh shows it is Nanite enabled but on the level map it does not render as Nanite. I can convert the landscape to Nanite and it shows up just fine, but none of the meshes do.

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

      I got it resolved. Slight error in my flow.

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

      Ooh good I am glad to hear that, sorry just saw this

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

    Nanite landscape works funky for me. When my camera looks down the landscape disappears.

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

      Just switch it off then. Seems to have mixed results depending what on the system

  • @WesleyOverdijk
    @WesleyOverdijk Před 22 dny +1

    How do stamps work when combined with World Partitioning? Would you need a bunch of stamps?
    EDIT: Oh you just enable the "Is Partitioned "option in the PCGGraph actor

    • @azielarts
      @azielarts  Před 22 dny

      Yep you got it !

    • @ClashOfAdventurers
      @ClashOfAdventurers Před 17 dny

      ​ @azielarts How did this work for you? I checked the box and re-simulate my pcg again. Everything froze, I had to close ue5 from task manager, my pc spec is not an issue. Any ideas?

  • @UnrealNewb
    @UnrealNewb Před 22 dny +1

    good stuff!!@!@! UE5.4

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

    Do you have an overview vid on Nanite and PC requirements? I have an old gaming laptop with GTX 1060 and DirectX 12.
    When I run UE5.2 I get a warning to update my drivers/DirectX to use the new features. But Im afraid of updating to DirectX 13, if it breaks anything. What should I do?

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

      Also Im making a game with not ultra high polys, but trying to keep my laptop at a low spec of what players might have. Unless Cloth sim needs DirectX 13, then I'll make that the target PC specs to play.

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

      create a restore point first. When you update your gfx card, and using Nvidia, make sure you choose do a clean install. This uninstalls then reinstalls the drivers. I would definitely say if you can afford it, get another laptop with a 2080 in it. According to Epic's min specs. lots of ram....good luck to ya

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

      I have a laptop with GTX 1050 and I can run UE 5.3 without problems. The only problem it is only 4GB VRAM which eats up quickly.

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

      I didn’t update DirectX since loooong time ago, there is DX13 now?? I only update Nvidia drivers through GeForce Xperience and you are fine.

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

    Question. i create a project and create a level for PCG my level is running on 30 fps. then i download the electric dreams env project form marketplace. i don't know what they did in project setting because electric dreams super heavy PCG level is running like a cream. then i migrate my level to electric dreams env project and after that my level also running like cream and on 40fps but little bit lighting quality was down but it was working very well. so i don't know what they did in project setting which is super optimized the project please share something if you know.

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

      when you go into project settings, go to rendering section for example, you can export your settings (from top right) and then export the settings from electric dreams, and copy the contents of both the ini files and compare it in an online text comparison tool like diffchecker. I'm actually going to test it right now, you have piqued my curiosity.

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

      @@user-pe6cw4xq3oWhat was the outcome?

  • @Shivang-lo7uf
    @Shivang-lo7uf Před 7 měsíci

    When I scatter blueprints with PCG, they stay in the scene when the pcg actor is deleted. Is there a fix for this?

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

      Can't pack blueprints the way meshes get packed when instanced

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

    help !!! im getting very low fps after generating pcg, it went to 17 fps max ,do you have any fix for this issue and when build nanite for my landscape the editor is getting crashed :(

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

      Honestly a little hard to say without knowing your computer. It might be the texture size you have on the assets

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

      @@azielarts RTX 3060 , Ryzen 5 5500,16gb ram ,512 gb SSD nd 500 gb HDD. is this not enough ?

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

      Tried reducing the texture size but no change is there still the fps drops massively

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

      @@jeswinsunil6069 I am looking at your hard drive and ram there and wondering if it is not enough ram? This is just a theory though. It seems kind of low to me

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

      I would also try reducing the size of your volume

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

    Are you sure about the nanite? Because working on Epic's city sample i noticed that almost everything has nanite, but the amount of drawcalls is crazy, something like 3-5k

    • @azielarts
      @azielarts  Před 7 měsíci +4

      Yeah it is a good question. In my testing it is the best tradeoff between quality, density of meshes and performance. Technically it would be more performant to use a very low quality LOD instead, but you sacrifice fidelity. It also really does depend on your machine target spec. I also think that city sample project has a tun of other drawcallls from complex materials as well. Might need further testing.

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

      @@jlock4516 how does it help if i'm cpu limited cuz of drawcalls

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

      @@jlock4516 I'm not quite educated on what's going on under the hood of nanite, but the fact is: in a lot of cases cpu performance gets significantly worse after enabling it. I appreciate you mentioning optimization methods, in fact, i had no idea that udims are beneficial for something lower than 8k, but there's no need to compensate for the performance loss of nanite if i can just disable it. Also, I'm still struggling to understand how DLSS SR would be able to help with the cpu bottleneck. I'm using this tech time to time (mostly for downscaling) but never seen it improve performance when the gpu is not at the full load, The Finals is the latest example

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

    lol tip number 4 : never convert landscape to nanite, that makes a drop of 20% fps !

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

      Lol yeah, I realized that later that it is very computer spec dependent. Sorry for the confusion

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

    what are you talking about, optimized meshes with lods are still much more efficient then nanite atm

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

      It's always a trade off. Yes LODs can give you something that runs smoother with less powerful hardware. For me personally though I want to maintain as higher a visual quality than I can. a higher end system. This is just what I do for my personal optimization workflow. If LODs work best for what you are looking for, it totally makes sense.

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

      Yeah if you don't care about quality. Nana is the way to go if you want to keep your quality

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

      I just think so, I personally buy PCG and asserts and their *Licence to use commercially* from the marketplace, so most of the time it's less optimized

  • @adrienlogut3482
    @adrienlogut3482 Před 3 měsíci +1

    Second tip is not true. Instance data packer is used to write custom data for each instance that can be read back by the material. It's not an optimization whatsoever

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

      Ooh thanks for this. Going to look into it.

    • @ClashOfAdventurers
      @ClashOfAdventurers Před 17 dny

      @@azielarts I would like to have some updates about this aswell, if you could post them somewhere I would appreciate it!

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