5 Tips to Optimize Environments in Unreal Engine 4

Поділитися
Вставка
  • Опубліковано 28 лис 2024

КОМЕНТАРІ • 155

  • @funagengames1177
    @funagengames1177 2 роки тому +23

    The required texture size view mode blew my mind! After watching this I went through my game and resized all the max texture sizes to avoid oversampling. Thanks for the tips, Jakub!

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

    I love you man, there are so many 2h video on just one way to optimize your game or mod, you quickly but sufficiently explain 5 of them in 12 minutes.
    and sure enough my lights' radii were way too high, 'lighting' all the way to the other side of the town i made, before watching this i would get 39 FPS in my church, now i get 90
    thanks so much for this

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

    I love how calm you're when explaining things. I noticed this about you and William Faucher, both of you have this talent of presenting info with calmness and professionalism.
    I was saddened however, because of how small your subscriber count is. I truly hope you gain the audience you deserve.
    Also, Unreal Ecosystem seems pretty neat. Waiting for the "courses" section to be out of maintenance mode soon.

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

      Thank you for the kind words! I'm working full steam on new videos and the course, so when I publish all of this, I hope more people will be interested in the content. The results are not yet visible but the snowball effect is coming.

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

    Most useful and easy to understand tutorial on optimization yet, thank you

  • @DaFrancc
    @DaFrancc Рік тому +3

    You taught me about so many tools that I had no idea existed. I'm running to my pc right now to implement all these optimizations 😁

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

    i don't know but i would also cover master materials. Each material on an object is also a draw call. So, 20 Materials on your object is 21 draw calls.

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

    As someone getting into game development and hoping to build a portfolio over the next couple of years, this video helped immensely! Subscribed

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

    As a total beginner who has watched a lot of UE4 videos. This is one of the clearest and easy to understand I've seen. Great work!

  • @alpinejonny
    @alpinejonny 2 роки тому +14

    You have incredible videos. Instant subscribe. I really hope you keep going! No bullshit, you explain things so incredibly well. I think i've learned more in your 4 videos than in dozens or hundreds of others. Also, thank you for the alpha brushes.

  • @roberthenderson3406
    @roberthenderson3406 3 роки тому +6

    Fantastic, I appreciate the maps and the explanations given in tutorials.

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

    Well done Jakub 👍

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

    Just subscribed. Coming in from an archviz background. Thanks for explaining it well

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

    Super tutorial. Dzięki i czekam na więcej :)

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

    Instant Follow!!! So useful! Thank Jakub!

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

    Jakub, grateful for this. Thank you🙂

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

    those dynamic gi ones were an eye opener

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

    Dobre tipy, dzięki!

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

    Thank you for this video! The attenuation radius tip save my project!

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

    Very informative! Also you should turn off alpha channel render for every RoughnessOcclusionMetallic texture map for every asset to reduce half of the texture size for even more optimization

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

    This video helped so much! Messing with the LODs and Mipmaps made my game run so much more smoother! Thank you! I subscribed and honestly, I'm surprised you only have 427! This is some really good production quality!

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

    Appreciate the effort bro, keep it up

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

    Useful! Thank you. Would love a revamp of this tutorial for UE5.

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

      Yeah, I should really do it.

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

      @@jakubhaluszczak WOoters.

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

      Definitely, as I believe Unreal Engine has never been so accessible. I started not too long ago. Would love to understand how to optimize in UE5!

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

    these are gold, thanks!

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

    Brilliant tutorial. Thank you for sharing your knowledge!

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

    AMAZING VIDEO !!
    Can you tell is it better to use draw distance or cull volumes?
    Also in UE5 we dont have nanite so we dont need to use LODs on static meshes
    but lighting is Lumen, does Lumen work same way or there are ways to optimize it as well?
    Thanks

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

      The main problem with lumen is we can't do much optimization, it's just a system that we turn off and on. In theory, we can reduce the quality and play with some console commands, but I think it's a bad idea, and it's easy to mess sth up. Epic said that it should be more performant in UE 5.1, but I don't know when it'll come out, so we are in a bit weird spot right now.

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

      @@jakubhaluszczakokay. Thanks

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

    Thank you for this video! This has been really helpful!

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

    Great video! Thank you

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

    Very helpful. I was struggling with LODs, and this helped me a lot

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

      Glad I could help. Thanks!

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

      Yea actually I just wanna add that this really helped, the LOD system is very powerful but not many people have gone into the detail like you have. Such a simple tickbox but almost always overlooked

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

    This is very helpful please make more of these tips for optimization like when using megascans, etc. Thank you

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

    When you bake in your lighting in is it emissive by itself or is it just a “lightened” effect on a surface?

  • @gamedev-erino5224
    @gamedev-erino5224 2 роки тому

    another tip I would add is reducing the number of draw calls or unique items in a scene. especially for games, this is very important

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

      to reduce draw calls, you need an optimised Mesh.
      The more texture your mesh have, the more Draw call you will have.
      1 Mesh can have 4 texture... Albedo, Normal, Roughness, Metalic, AO. some have Specular and more.. Each of those texture will call a Draw.
      I made an unoptimised mesh, with 25 texture... 25 draw calls. If i put 10 of this Mesh in game, i can see a drop in FPS.
      So the number of texture a mesh has is important too. The less is has, the better it is.

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

    Your awsome. This realy motivated me on optimizing from the start.

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

      Yeah, optimizing from the start will save you a ton of time, cheers!

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

    great video, very educative. Thanks!

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

    Is using 2k textures on (almost) everything too much? I don't plan on having any 4k or above that. Thanks

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

    AWESOME video bro ! I have many games on Steam but a large refund from those have lower PC, with your tips, the refund'% decrased much more ! xo...

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

    very very helpful. Thanks!

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

    Wish I could like this more than once. 👍

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

    I think my friend Jeffrey needs to see this

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

    Great video, thnx sir!

  • @Morso.mertal
    @Morso.mertal 3 роки тому

    good job bro...my wind dont work for trees and grasses ...how i can fix them ?????

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

    Great content Jakub. Thank you very much. Subbed!

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

    Problem with archviz is that all textures gotta be at the highest quality because u get super close whether it be in interactive archviz mode as well as in cinematics :/

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

    My foliage meshes are black in that mode? why could that be? thank you

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

    As far as shader complexity is concerned, ho would you go about reducing that, particularly for megascans?

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

      Megascans material is quite optimized. If you want to have something faster I would consider creating your own master material from scratch.

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

    When i enter Light Completixy all of my level is black. am i doing something wrong?

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

    Well explained 👏

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

    Thanks detail
    how is ST tree file from SpeedTree, have automaticly setting LOD polygon mipmap too from ST setting or the same step option or automaticly apply with UE4 setting menu?

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

    Hey men Im still using your brush for alpha brush for creating mountain etc since I did started in UE4. I remember you posted somewhere on web when I googled free for alpha brush, thanks!!

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

      Haha great to hear that. I'm gonna have new erosion brushes coming up in 2024 so stay tuned.

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

    your explanation is great , make more video

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

    Great video

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

    switched my trees from using nanite to using LODs and gained a ton of FPS. Strange. I figured nanite would be better on performance but it seems as though it's not.

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

      I don't think that's nanites fault. You can check what causes this decreased performance using GPU VIsualizer and compare with nanite on and off. I bet the problem is with the shadows.

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

    Super helpful video! Thank you so much

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

    Amazing video! Thank you for sharing!
    I developed a 2D game but I used 3D backgrounds from the free assets in the marketplace. So, I had to use a Perspective camera and put it waaaay back in the distance to give the appearance of 2D.
    But, now the backgrounds take so much computing power. I used LODs, and reduced the triangle count tremendously. And, now the game performs better, but the quality of the backgrounds are visibly subpar, and hurting the game's first impression.
    So, I'm wondering do you have any suggestions on this situation of mine, perspective camera for 2D games + 3D backgrounds?
    Subbed!! Looking forward to more content!!

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

      I don't create 2D games, but if I had to I would just stick with 2D models with color variation to create depth in the image using distance from camera and combine it with fog. But of course, if you want those mountains to be 3D and still high quality you can just turn on Nanite in UE5 and increase the number of triangles to about 6-8 times without any problems.

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

      @@jakubhaluszczak Thank you so much for the reply!!
      I am trying to move my project from UE4.26 to UE5. But, I'm running into compilation issues.
      I will try Nanite, and let you know!

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

    i actually have a problem with lighting.
    i add 6 Lights close to each others. If lights are off i get 75-80 fps. If Lights are ON, i drop down to 59-60 fps.
    Even if i turn off Shadow from those lights, i still get massive lag.
    And how to put a light to Static of the Directional Light ( Sun) is on Movable? you can,t bake a shadow with a movable sun. So how to do? hmm.. if you want to use Static Lights, you have to disable to Sun movement. You have to have a static sun, wich will give you a static light, and being able to bake shadow.

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

    This was very helpful. I ran into lots of precision problems with large landscapes and scaled it back but still working on running out of memory. Currently figuring out best ways to setup LOD's and optimize textures and static meshes. This has given me a lot of pointers, thanks.

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

    excelent video

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

    Very good educational video. I'm waiting for shaders.

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

    I can't believe how well you demistifyed all of these.

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

    Excellent tutorials Jakub. Will use with my students, cheers!

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

    I always have this texture and light problem that it would take me ten years to fix apart from the optimization that somehow interferes with the animation of the project in the end one thing affects another

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

    good ...... why dont you continue making tuts you are good teacher

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

    Can you talk about how modern open world game like Forza horizon 5, GTA5, and battle field texture the terrain that works up close and from very far away. One thing I notice, they have very vast variety of textures and each square meters of lands always look different, unlike the layer painting method in UE4 which I found very limited at least to my knowledge. Please share your priceless knowledge of how to achieve that in UE4 if possible. Thanks in advance.

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

      When it comes to creating good landscapes in UE, layer painting is the best thing we have right now and it can produce realistic results, but you need to use quality textures (e.g. megascans), and have a good landscape material, which will hide the texture repetition, and scale your textures based on your distance. Remember that landscape is just a base layer, in every game you have a lot of stuff put on it, like grass, trees, buildings.
      Once I read about how Rockstar optimized landscape in GTA5 and it turns out, it's divided into sections, and when you are far enough, a part of a landscape switches to a single draw-call mesh with its own texture, and that's how they made the game work smoothly. Hope it helps!

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

    Thank you this is very helpful!

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

    Nice Tips thank you
    :D

  • @Restart-Gaming
    @Restart-Gaming 8 місяців тому

    Wow i did this still have the same frame rate from when i started did not d i anything when you have grass a trees

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

    Really good video, would love too see your tips on UE5. Subscribed and hoping :)

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

      Yeah, considering the new features and systems in UE5, and how heavy they are, I have to.

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

    one more - virtual texturing can give a massive boost

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

      Yeah, Virtual Texturing is now "go to" thing especially for high resolution textures.

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

      @@jakubhaluszczak It increased GPU overhead cost so it might not be suitable for every project.

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

    It didn't seem like you showed any difference in the LOD comparisons with and without.

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

      If you set up good LOD reduction and distance settings, it's hard to spot loss of quality in the final image.

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

    It's a very good video. We are making a mmo with a day night cycle, lighthing is a pain to optimize.

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

    in ue5 couldnt you just use nanite?

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

    I found this very helpful. Thank you!

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

    Ooo Polak widzę

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

    Incredible video man. Keep up the hard work, you will soon blow up 😀

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

    Now if only AAA devs watched this video.

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

    VERY Helpful. Thank you!!!!
    I love how only 9k devs were interested in this.
    While 4k, realistic scenes get millions of views.
    No one cares about optimizing its quite embarrasing, especially most to almost all games are not optimized whatsoever.
    If you're going to argue that they are BULLSHIT.
    What's the point of getting a 30 series card for over a grand yet I have frame drops in 4k ultra and still looks meh.
    Na, cash grabs is what video games are now.
    15 years ago games HAD to optimize because if they weren't most pc's wont even run the game.
    Sad but 100% true. Gaming pc since MechWarrior 2.

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

      Thanks for watching, that's actually a very interesting topic. I personally think that many games aren't that optimized because companies focus on optimization at the end. They want to show great realistic graphics in their products and that's why they put it off until the later stages of development. I understand their point of view, they want to make as much money as they can, but it can also affect their reputation. An example of it may be Cyberpunk on PS4, for sure optimization was done at the end of development (frames were often dropping and quality was really bad). Good project optimization should start with pre-production, and finding a balance between quality and performance is the key to making gamers satisfied in terms of game graphics and gameplay fluidity.

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

    Polska górą! 🇵🇱

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

    So then nanite ain’t shit?

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

      Nanite is way better than LODs. I recorded this video when nanite wasn't even a thing.

  • @ShineTheMuffin
    @ShineTheMuffin 3 роки тому +18

    Laughs in unreal engine 5

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

      You still need a balance XD

    • @garrytalaroc
      @garrytalaroc 2 роки тому +8

      The problem still exist. Nanite can be impressive but it can't work on trees and foliages which are 90% of my scene.

    • @samuelkilik8233
      @samuelkilik8233 2 роки тому +15

      @@garrytalaroc laugh in ue5.1

    • @garrytalaroc
      @garrytalaroc 2 роки тому +6

      @@samuelkilik8233 nanite foliage is a heaven sent for my project.

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

      @@garrytalaroc it can

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

    Q-U-A-L-I-T-Y C-O-N-T-E-N-T
    EVERYONE, SPELL THIS FOR ME.

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

    Optimization in Unreal Engine sounds like a joke 😂😂

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

      Now in Unreal Engine 5 there are many more ways to optimize your projects.

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

    Op timi zation? Hahahaha

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

    Wow, this is the clearest tutorial for unreal engine
    hey keep going dont stop this channel
    thaanks. 🤍

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

    good ...... why dont you continue making tuts you are good teacher

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

    good ...... why dont you continue making tuts you are good teacher