5 Tips to Optimize Environments in Unreal Engine 4

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024

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

  • @funagengames1177
    @funagengames1177 Год назад +22

    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!

    •  Год назад +2

      Great, you're welcome!

  • @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

    •  2 года назад +2

      Good to hear that, thanks for watching!

  • @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 😁

  • @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.

    •  2 года назад +1

      Glad you enjoyed, thanks!

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

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

    •  Год назад

      Thanks for watching!

  • @zinetx
    @zinetx Год назад +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.

    •  Год назад +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.

  • @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

    •  2 года назад +1

      Thanks!

  • @roberthenderson3406
    @roberthenderson3406 3 года назад +6

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

    •  3 года назад +1

      My pleasure, cheers!

  • @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!

    •  3 года назад +1

      Thanks, I really appreciate that!

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

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

    •  Год назад

      Thanks for watching!

  • @JagguAnimation
    @JagguAnimation 20 часов назад

    your explanation is great , make more video

  • @Glowbox3D
    @Glowbox3D 2 года назад +2

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

    •  2 года назад +4

      Yeah, I should really do it.

    • @Glowbox3D
      @Glowbox3D 2 года назад

      @ 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!

  • @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.

  • @DDouglashey
    @DDouglashey 2 года назад

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

    •  2 года назад

      Thanks for watching!

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

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

  • @lz4090
    @lz4090 2 года назад +3

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

    •  2 года назад +3

      Thanks for watching. I keep that in mind!

  • @danielzboy
    @danielzboy 2 года назад +2

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

    •  2 года назад

      Glad you enjoyed it!

  • @devboiagru
    @devboiagru 3 года назад +2

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

    •  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

  • @miloszgierczak4806
    @miloszgierczak4806 2 года назад +1

    Dobre tipy, dzięki!

    •  2 года назад

      Dzięki wielkie!

  • @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

  • @eintyp4389
    @eintyp4389 2 года назад

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

    •  2 года назад

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

  • @vegitoblue2187
    @vegitoblue2187 3 года назад

    those dynamic gi ones were an eye opener

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

    Brilliant tutorial. Thank you for sharing your knowledge!

  • @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!

    •  3 года назад +1

      Glad you enjoyed it! Thanks.

    • @MagmaProductionsYT
      @MagmaProductionsYT 3 года назад

      @ No problem, man!

  • @ogarga666
    @ogarga666 17 дней назад

    these are gold, thanks!

    •  9 дней назад

      Thanks for watching.

  • @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

    •  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 года назад

      @okay. Thanks

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

    Instant Follow!!! So useful! Thank Jakub!

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

      Thanks for watching!

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

    Jakub, grateful for this. Thank you🙂

    •  Год назад

      Thanks for watching!

  • @markecgazda3880
    @markecgazda3880 9 месяцев назад

    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!!

    •  9 месяцев назад +1

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

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

    Wish I could like this more than once. 👍

    •  Год назад

      Once is enough for me, thank you so much!

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

    very very helpful. Thanks!

    •  Год назад

      Thanks for watching!

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

    great video, very educative. Thanks!

    •  Год назад

      Thanks for watching!

  • @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.

  • @willdiegamingnetwork4592
    @willdiegamingnetwork4592 2 года назад

    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.

    •  2 года назад

      Thanks for watching!

  • @datonernegen
    @datonernegen 2 года назад

    Great content Jakub. Thank you very much. Subbed!

    •  2 года назад

      Thanks!

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

    Great video! Thank you

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

    Appreciate the effort bro, keep it up

  • @GrekkoGaming
    @GrekkoGaming 10 месяцев назад +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...

    •  10 месяцев назад +1

      Glad I could help.

  • @SaviourFik934
    @SaviourFik934 2 года назад +1

    I think my friend Jeffrey needs to see this

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

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

  • @DannyLrsn
    @DannyLrsn 3 года назад

    Super helpful video! Thank you so much

    •  3 года назад

      Thanks for watching!

  • @rafalkolodziej5438
    @rafalkolodziej5438 2 года назад

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

    •  2 года назад

      Cheers!

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

    Great video

    •  Год назад

      Thank you!

  • @LuizFernandoSC
    @LuizFernandoSC 2 года назад

    excelent video

  • @MarcDubeauchannel
    @MarcDubeauchannel 3 года назад

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

    •  3 года назад

      Happy to hear that, thanks!

  • @UnrealBucket
    @UnrealBucket 2 года назад

    Well done Jakub 👍

    •  2 года назад

      Thank you!

  • @stormolflak
    @stormolflak 2 года назад

    Thank you this is very helpful!

    •  2 года назад

      You're welcome!

  • @rmanj2300
    @rmanj2300 2 года назад

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

    •  2 года назад

      Thanks!

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

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

    •  Год назад +1

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

  • @KerryCronic
    @KerryCronic 9 месяцев назад +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.

    •  9 месяцев назад

      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.

  • @soldierofodin6769
    @soldierofodin6769 2 года назад

    Great video, thnx sir!

    •  2 года назад

      Thanks for watching!

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

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

  • @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 :/

  • @playdarkion
    @playdarkion 2 года назад

    Well explained 👏

    •  2 года назад

      Cheers!

  • @Morso.mertal
    @Morso.mertal 2 года назад

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

  • @senopatict
    @senopatict 2 года назад

    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?

  • @darnunt
    @darnunt 2 года назад

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

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

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

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

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

  • @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.

  • @SamDreamsMaker
    @SamDreamsMaker 2 года назад

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

    •  2 года назад

      Thanks!

  • @phalhappy8612
    @phalhappy8612 2 года назад

    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.

    •  2 года назад +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!

  • @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

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

    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!!

    •  Год назад

      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 Год назад

      @ 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!

  • @GamesStudio313
    @GamesStudio313 2 года назад

    Nice Tips thank you
    :D

    •  2 года назад

      Thanks!

  • @Restart-Gaming
    @Restart-Gaming 6 месяцев назад

    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

  • @ashleykettle343
    @ashleykettle343 2 года назад

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

    •  2 года назад

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

  • @vegitoblue2187
    @vegitoblue2187 3 года назад

    one more - virtual texturing can give a massive boost

    •  3 года назад

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

    • @Nepfish
      @Nepfish 2 года назад

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

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

    Ooo Polak widzę

  • @BigfootU
    @BigfootU 3 года назад

    I found this very helpful. Thank you!

    •  2 года назад

      Thanks for watching!

  • @RigelOrionBeta
    @RigelOrionBeta 2 года назад

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

    •  2 года назад

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

  • @octaviosilva5808
    @octaviosilva5808 3 года назад

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

    •  3 года назад +1

      Thank you for the kind words!

    • @vegitoblue2187
      @vegitoblue2187 3 года назад

      you are everywhere 🤣

  • @KillerDudeT19
    @KillerDudeT19 2 года назад

    in ue5 couldnt you just use nanite?

    •  Год назад

      For the majority of things, yeah.

  • @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.

    •  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 9 месяцев назад

    So then nanite ain’t shit?

    •  9 месяцев назад

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

  • @ShiningMuffin
    @ShiningMuffin 3 года назад +17

    Laughs in unreal engine 5

    • @herogamerbr12
      @herogamerbr12 Год назад +5

      You still need a balance XD

    • @garrytalaroc
      @garrytalaroc Год назад +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 Год назад +15

      @@garrytalaroc laugh in ue5.1

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

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

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

      @@garrytalaroc it can

  • @gerarddiazvidal5121
    @gerarddiazvidal5121 2 года назад

    Op timi zation? Hahahaha

  • @starvosxant4348
    @starvosxant4348 3 года назад

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

    •  3 года назад

      Haha thanks!

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

    Optimization in Unreal Engine sounds like a joke 😂😂

    •  Год назад

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

  • @halfadrop9360
    @halfadrop9360 2 года назад +1

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

    •  2 года назад

      Thanks for watching.

  • @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