Optimizing UE5: Advanced Rendering, Graphics Performance, and Memory Management | Unreal Fest 2024

Поділитися
Вставка
  • Опубліковано 2 лют 2025

КОМЕНТАРІ • 116

  • @mingyenwu9621
    @mingyenwu9621 4 місяці тому +71

    I believe this is the first time I've heard someone in Epic talk about the meaning behind "virtual" in detail.
    This clarifies things a lot.

  • @BenHitbox
    @BenHitbox Місяць тому +14

    If you're curious why Lumen wouldn't disable at 41:41, it is because setting Global Illumination Method in a Post Process will override nearly all other methods of of changing that setting. There was a PostProcess in this map that overrode that cvar entry.

  • @theQuickRundown
    @theQuickRundown 4 місяці тому +21

    These recent optimization talks were so needed! Thank you

  • @eternalsoma
    @eternalsoma 4 місяці тому +15

    Lets say i had this problem yesterday and now this video is here. What a timing

  • @dXXPacmanXXb
    @dXXPacmanXXb 4 місяці тому +27

    Unreal should publish a book with all those console variables and their use. How is anyone keeping track of all of them. Some of them seem so important yet I have never heard about them

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

      There is a "console variables" menu in "help" at the top of the editor. Maybe the names are not the ones I remember, but you'll definitely find it on the top panel of the editor.
      Then just type one word from a command and it will give everything related to it.

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

      if you search "unreal engine 5 commands" the first result is a post in the Unreal Engine forums with a link to ALL of the UE 5 console commands/CVARS etc. available in several formats you can save. I saved the HTML file locally. It has a search box as well so you can search through all the commands easily.

    • @FireF1y644
      @FireF1y644 2 місяці тому

      Use Notion to write down anything important you learn, as I do.

    • @wilismatrix9847
      @wilismatrix9847 2 місяці тому +3

      @@screwdriver1337 well it doesn't explain anything and not even how to execute it correctly. Most known commands are just known from this UE evangelists who works with epic games.

    •  28 днів тому

      It’s such a vast programme that when you watch a lot of talks, even some great engineers don’t about things from other sections they don’t work in
      Sadly there’s nothing for it other than keeping your own notes really.
      You can full CVAR list online too, but if I try to post a link I get filtered out so you’ll need to search for it

  • @Tylru
    @Tylru 4 місяці тому +47

    Incredible talk.
    However, if you're going to allow your speaker to continually say the links to all the CVARs will be available at the end... Please make sure the links to all the CVARs IS available at the end.

    • @GreenClover0
      @GreenClover0 4 місяці тому +7

      There's a linktree link at the end which has links to CVARs for all Mike's presentations including this one

    • @sean8102
      @sean8102 3 місяці тому +1

      Also if you search "unreal engine 5 commands" the first result is a post in the Unreal Engine forums with a link to ALL of the UE 5 console commands/CVARS etc. available in several formats you can save. I saved the HTML file locally. It has a search box as well so you can search through all the commands easily.

    • @Slapdash86
      @Slapdash86 2 місяці тому +3

      @@sean8102 You can generate that list from within the engine any time by typing "help" into the console :)

    • @tmanook
      @tmanook 14 днів тому +1

      @@sean8102 You were right. First link. I downloaded the searchable HTML version. Really nice. Thank you for mentioning it.

  •  4 місяці тому +8

    Brilliant guy! So informative.

  • @Unknowable_Void
    @Unknowable_Void 4 місяці тому +11

    Finally a clear explanation for why Lumen might be flickering in certain scenes

  • @zehnjucht
    @zehnjucht 4 місяці тому +2

    I learned a lot of new things in here. GREAT talk.

  • @ciprianstanciu7
    @ciprianstanciu7 4 місяці тому +4

    For who's watching, the VRS visualization shown here is broken in 5.4.4. I can't post links here but I posted the fix on the unreal forums. Also with VRS on, virtual textures flicker like crazy, as demonstrated in the video at 14:30 center screen, sadly the speaker doesn't touch on that :/

  • @jerobarraco
    @jerobarraco 4 місяці тому +2

    Great videos Epic. Keep it up!
    I really enjoyed this talk, his voice was very clear and easy to understand (for a non english native).

  • @51Daedalus
    @51Daedalus 4 місяці тому +4

    So how would you actually fix those large yellow surfaces in the lumen scene without pumping the lumen scene detail so much that performance tanks? Sometimes, these yellow parts are closer and larger than smaller stuff behind it that renders just fine into the lumen scene so it can feel incredibly random why its happening.

  • @DanielGoupil
    @DanielGoupil 4 місяці тому +3

    Great talk as usual thanks Matt

  • @issacdhan
    @issacdhan 2 місяці тому +1

    Great Insight for Optimization. Thanks.

  • @tbvjwodn
    @tbvjwodn 4 місяці тому +4

    I love how Matt explain things! :)
    Thank you so much!!!!

  • @d369studios
    @d369studios 4 місяці тому +1

    Thank you for this video Matt!

  • @ChadT-n9q
    @ChadT-n9q 4 місяці тому +14

    I remember the first demo in April of 2020 showing off UE5 for the first time, how detailed and incredible it looked and still looks today, running live on a PS5 dev kit essentially, to now 4 years later and it still seems like everytime they show off scenes like this one they always say "this is not for video games", which is discouraging because wasn't the whole point of these technologies to make games look incredible and now they are struggling to do so 4 years later with a dozen caveats??

  • @pricklyprickle
    @pricklyprickle 4 місяці тому +1

    Amazing talk i learned a lot from this Epic is amazing at making good informational material

  • @alexandrechekroun
    @alexandrechekroun 4 місяці тому +2

    How do you get the Nanite Variable Shading Rate visualization at 27:29 ?

  • @blknmild
    @blknmild 4 місяці тому +4

    Thank you for this video, its EXACTLY what I needed to encourage me to move forward with my indie game project in UE!!!

  • @GES1985
    @GES1985 4 місяці тому +2

    For packaged actors, is there a way to cull the geometry that is hidden inside of collisions, so that there are no draw calls on the parts of the packaged actors that can not be seen?

  • @Cloroqx
    @Cloroqx 4 місяці тому +1

    The master returns.

  • @ligazetom
    @ligazetom 4 місяці тому +2

    Could anyone explain 21:00 a bit more? He just dropped it like it's not a big deal having texture dropped when the camera is static. Is there anything to counter that or thats just it. Is it every 16th pixel on screen? So if my texture takes more screen space it's less likely to be dropped?

  • @UnrealPixelation22222
    @UnrealPixelation22222 4 місяці тому +1

    ❤️💯#gold

  • @Gundir_Cap
    @Gundir_Cap 4 місяці тому +2

    where can I get a link with commands and their description? I think it was said that it will be under the video

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

      It's the QR code at the end of the video (it also has the address) Also if you search "unreal engine 5 commands" the first result is a post in the Unreal Engine forums with a link to ALL of the UE 5 console commands/CVARS etc. available in several formats you can save. I saved the HTML file locally. It has a search box as well so you can search through all the commands easily.

  • @Trait74
    @Trait74 4 місяці тому +11

    Where are the links? The Console Variables and the Video links? Especially the Lumen Optimization video

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

      At the end of the video where the QR code is, and the link is below the QR code. Also if you search "unreal engine 5 commands" the first result is a post in the Unreal Engine forums with a link to ALL of the UE 5 console commands/CVARS etc. available in several formats you can save. I saved the HTML file locally. It has a search box as well so you can search through all the commands easily.

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

    UE5.4.4 Motion Design - Material Designer The problem of multi-layer effect overlay that cannot be saved has not been resolved. . .

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

    so how come when i disable reverse index buffer... i can still scale meshes in negative just fine?

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

    Whats the console command for showing the stat for the virtual texture memory?

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

      IDK but if you search "unreal engine 5 commands" the first result is a post in the Unreal Engine forums with a link to ALL of the UE 5 console commands/CVARS etc. available in several formats you can save. I saved the HTML file locally. It has a search box as well so you can search through all the commands easily.

  • @Horizontff
    @Horizontff 4 місяці тому +2

    Esta equivocado en el video. El simple hecho de usar nanite supone un costo. Si usas nanite para mallas con pocos poligonos etc el costo de activar nanite es mayor al coste de la malla por lo que es mejor no usar nanite para este tipo de mallas para tener mejor rendimiento. Estaría bien que mejorarais la optimización de lumen, Ray tracing, Virtual shadow maps, AO

  • @DannyArtNL
    @DannyArtNL 4 місяці тому +4

    Absolutely fantastic! Or should I say, ilLumen-ating 😏...

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

    So Matt is doing the math... :P

  • @badashphilosophy9533
    @badashphilosophy9533 Місяць тому

    the engineering that oes into this software is indlowin. i dont understand or need to know what hes talkin about ut cool to know it is all there under the hood and all the work theyve put in and are continuein to put into this softwar

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

    Anyone find that link with all the cvars that he keeps saying is included with this video? (but is not)

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

      It's the QR code at the end of the video (and the link is spelled out below it). Also if you search "unreal engine 5 commands" the first result is a post in the Unreal Engine forums with a link to ALL of the UE 5 console commands/CVARS etc. available in several formats you can save. I saved the HTML file locally. It has a search box as well so you can search through all the commands easily.

  • @D3kryption
    @D3kryption 4 місяці тому +8

    I'm curious to hear about the latest nanite videos and how people are saying its highly bad for performance and people should stop using it. It'd be good to here from Epics side :D

    • @GlassesAndCoffeeMugs
      @GlassesAndCoffeeMugs 4 місяці тому +5

      Tbh the fundamental problem with Nanite has always been "it works best with super high poly geometry and all the other expensive modern features" and even then it doesn't always work better than LODs. So the issue is you're already starting the race 4 laps behind so to speak in terms of performance, since you're limiting yourself to mostly super high poly geometry which is heavy to begin with regardless of Nanite, and also forcing yourself to use the most expensive graphical features. But to be fair he does mention this in the beginning of the video, he's demoing arch viz stuff, high poly models, and explicitly says he is NOT talking about realtime games.

    • @D3kryption
      @D3kryption 4 місяці тому +1

      @@GlassesAndCoffeeMugs Hey!
      Thanks for the reply. That was my basic understanding of it, but I just figured it was the whole "you don't need LODs anymore" and it was just a HUGEEEE time saver. But now more and more videos are coming out saying how bad it is for games. By the sounds of it, its kinda the same with lighting. If you baked it (or create lods) its always going to be faster predefined than in real time lighting (or nanite)

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

      @@GlassesAndCoffeeMugs do you have an example of a scene with LOD running faster than the same scene in nanite?

    • @redtroll80
      @redtroll80 4 місяці тому +2

      @@ptcmia ua-cam.com/video/D5zkGhgKWQI/v-deo.html LODs are probably always faster, but for me as I was doing my first game, nanite was huge time saver...just import high res mesh, no lowres mesh needed to be build...

    • @d.w.s.4320
      @d.w.s.4320 4 місяці тому +3

      Nanite was probably the largest jump in modern gaming graphics. Saying it is bad for performance is just nuts.

  • @IstyManame
    @IstyManame 4 місяці тому +85

    "If it can be nanite it should be nanite" That is a lie, if you use nanite for meshes with small amounts of polygons the base cost will be way higher than the performance gains

    • @Dante1243
      @Dante1243 4 місяці тому +12

      💯

    • @drinkwwwaterrr
      @drinkwwwaterrr 4 місяці тому +32

      Nanite is entirely impractical unless all your meshes are unoptimized in the first place. Having well managed LODs gives you MUCH better performance while still looking great.

    • @e-frame5344
      @e-frame5344 4 місяці тому +14

      Youre only right about this if you dont put this into context to all other elements the engine offers like Virtual Shadowmaps and Lumen :3

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

      @@e-frame5344Unless your making an open world game with photoscanned and film ready assets, it’s a waste of your time and performance.

    • @Smokey-A
      @Smokey-A 4 місяці тому

      @@e-frame5344 Lumen and VSM's have their own issues too.

  • @FergusonGary-m8k
    @FergusonGary-m8k 4 місяці тому

    Quincy Dale

  • @RogueBeatsARG
    @RogueBeatsARG 4 місяці тому +13

    Wait, so enabling DLSS and FSR is not Optimizing a game? damn need to tell 90% of UE5 game devs before they release

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

    Using SVTs? Great. Disabling static lighting if you're using Lumen? Awesome. Doing both of those things? Full crash with Assertion failed: !UE::RenderCommandPipe::IsReplaying() whenever you edit a material with SVTs
    Why is the fix for this error, UE-219361, slated for 5.5 and not in the 5.4 bugfixes?

  • @qu3xHG
    @qu3xHG 4 місяці тому +1

    I like that even on official learning videos ua-cam.com/video/dj4kNnj4FAQ/v-deo.html you can kinda see the draw backs of modern graphics models were content starts to flicker at far distance. Also when you hear the buzz words in 16ms window you can make your conclusion that UE only cares for a 60fps target rather then ultra high frame rates

    • @senhor6863
      @senhor6863 4 місяці тому +1

      The flickering back there is actually just lumen, those objects are so far away, and their pixel size is so small that Lumen just shits itself, if you wanna keep everything stable, at high quality and performant, you should probably put a distance limit of Lumen, whether that's a fair trade its up to you, but they definitively don't talk about that

  • @QuantayPeoples
    @QuantayPeoples Місяць тому +2

    I love it when Unreal Engine 5.5.1 crashes every 15 minutes on my RTX 4090

  • @raymondstewart3350
    @raymondstewart3350 Місяць тому +2

    The best optimization for unreal is using something other than unreal.

  • @gabriel.br997
    @gabriel.br997 Місяць тому +2

    Unreal Stutter 5

  • @xaby996
    @xaby996 3 місяці тому +1

    "We're going to assume that you're using nanite & lumen"
    Skip

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

    Hi

  • @killaor115
    @killaor115 2 місяці тому +1

    Complete garbage get it together UE

  • @patépété
    @patépété 4 місяці тому +11

    I find all these videos funny: "you just have to check this box"... and yet all UE5 titles sutter like hell.

    • @AkitaMix
      @AkitaMix 4 місяці тому +16

      Extraordinary claim

    • @Mr4Goosey
      @Mr4Goosey 4 місяці тому +10

      That checkbox is a recent addition. Most UE5 titles that have recently released have been 5.0 or 5.1 titles, and this problem had not yet been solved in those releases.

    • @SyntaxDomain
      @SyntaxDomain 4 місяці тому +1

      ​@@Mr4Goosey Which checkbox specifically?

    • @LittleBlue42
      @LittleBlue42 4 місяці тому +2

      Mostly fixed now in recent versions. Lots of new updates to the back end.

    • @shannenmr
      @shannenmr 4 місяці тому +8

      Stuttering is usually due to compiling shaders which until recently was solely the responsibility of the Developers to do offline (PSOs) and include in the package, many Developers either didn't do this or usually do a bad job of it (it requires playing/moving through every level fully while running the process). In the recent versions of UE5 they have made strides to pre-compile them while map loading and asynchronously while you play the game plus displaying a default texture if required instead of blocking the thread (stutter) while it compiles it but there is still some improvements to be made.

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

    I call this fake, cant be a real UE upload.
    Where are the stutters on this video??? Very unrealistic.

  • @hankstorm3135
    @hankstorm3135 Місяць тому

    unreal is the worst optimized games ever i think no dev ever saw this video. pls fix your games or epic fix your engine.

    • @deufvelli
      @deufvelli 4 дні тому

      Unreal is not a game. Except Unreal Tournament.

  • @The-Filter
    @The-Filter 3 місяці тому

    Where is advanced and structured bulk importing for whole project hierarchy, inclufing auto texturing and converting? advance my a$$!

  • @MayhemMilIer
    @MayhemMilIer Місяць тому

    unreal is bad