Nanite Forest Optimisation in Unreal Engine 5

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • In this video, you will learn how to optimise a forest scene in Unreal Engine 5.4 using Lumen, Nanite, Virtual Shadow Maps and Virtual textures.
    Optimised DefaultEngine.ini:
    drive.google.c...
    1) One more tip I forgot to add is disabling cast shadows on your landscape, but it doesn't look good in some cases (I didn't do it).
    2) If you are not experiencing any flickering but your lighting doesn't update quickly enough (you will know what I mean when you experience it) try:
    r.Lumen.ScreenProbeGather.Temporal.DistanceThreshold=0.02
    3) Don't update the lighting every frame if you have a day and night cycle.
  • РазвлеченияРазвлечения

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

  • @starscream2092
    @starscream2092 5 дней назад

    I like how you explain things, you introduce change and problems that come along with their solution

  • @ImeCoulter
    @ImeCoulter 22 часа назад

    Great video with a lot of useful tips.
    Crossing my fingers that Epic finds a way to limit overdraw on Nanite foliage...

  • @InfinaWorks
    @InfinaWorks 12 дней назад

    Great video and really nice looking forest!
    Just a tip regarding shadows on grass and other small foliage/assets for those who are not aware of it.
    Try using contact shadows instead of dynamic shadows. It is enabled per default on meshes, but the contact shadow length on directional lights are set to 0.0 per default. (I usually set it to 0.1 or 0.2)

  • @RiverFox_YT
    @RiverFox_YT 3 дня назад

    Hmm, i have a couple of issue since following this video and changing the project settings. My fps has gone down from 40fps on cinematic settings to 14fps on high settings and i now have a constant message popping up telling me the change the virtual texture pool from transient pools to fixed pools. and no matter what i do the trees in the distance loose all their leaves even though i set it to preserve area. im using world partition by the way

  • @Cloroqx
    @Cloroqx 10 дней назад

    Great job!
    Scalability High targets 60FPS, Epic 30FPS on consoles.
    So using High as a basis is the best choice for hitting 60FPS, regardless of platform.
    Lumen Global Tracing uses the Global Mesh Distance Field, while the Detail Tracing also traces against per-mesh Distance Fields.
    For more complex mesh shapes, it can make a big difference.
    The Nanite landscape splitting you were seeing was a bug in 5.4. It is fixed in UE5-main, no idea if it made it into 5.4.4 as well.

  • @Junior_64_
    @Junior_64_ 18 дней назад

    Thank you so much, the video is great, just what I needed. You saved me, new subscriber, keep it up.

  • @StudioVacant
    @StudioVacant 23 дня назад

    Excellent video man. Thank you!

  • @DarkResidence
    @DarkResidence 23 дня назад

    Отличный гайд, давно искал эту информацию. Большое спасибо

  • @themadgamer4571
    @themadgamer4571 27 дней назад +1

    Thank you! I was trying figure out why I was going from 100 to 30fps. My landscape auto material brings to 72. Then the tessellation would bring me to the 40s add in trees and grass... Im sitting in the 30s or even as low as 28 in dense forests. This is am excellent video to pop up the next day to follow up and help with with figuring out my performance.

  • @etienneman
    @etienneman 19 дней назад

    this video is amazing. thank you so much for this. i went from 18fps to 70 lmao.. its amazing. sidenote: i started converting textures. texture by texture. after some time i replayed your video to see that you can select multiple textures :D fml

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

    thank you, very informative, learned a lot!

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

    Thanks a lot for sharing!

  • @MikAlexander
    @MikAlexander 12 дней назад

    When u enable tessellation you need to make sure its properly set up in shader.

  • @electronscape
    @electronscape 25 дней назад

    the weather BluePrint!! nice work!

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

    wow, I'm glad I've found your channel! Please do more videos!

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

    Thank you so much, very interesting video!!!

  • @graecus33
    @graecus33 12 дней назад

    Are those speedtree trees?

  • @schmutzxD
    @schmutzxD 9 часов назад

    Hey buddy, I think I've noticed a problem here. It should be the same for you, I think I could see it at some parts of your video. The problem is that the shadows do funky stuff when you get up close to them, this is especially notable when you walk through the scene with a character. Only the very closest shadows are displayed properly, those that are like 5 meters away from you look much different than those that are right below you. When walking through the shadows you can kinda see the zones around you and the shadow updating in a very unclean way, also you can very clearly see the tiles in which the shadow map is generated (I think that is what you see? I'm not sure), resulting in some sort of different, sharp "loading zones" around the player. You can see those "loading zones" when you turn on the view "virtual shadowmaps -> cached page" in the editor (instead of lit/unlit or whatever) very clearly.
    The problem doesn't occur when you disable the World Position Offset of the master material of those trees or whatever is causing the issue. So the movement of the leaves and stuff seems to play a role in this?
    I've followed tons of ChatGPTs suggestions and tried many other things to fix this, but nothing seems to work. Do you have a fix for this? Help would be greatly appreciated!
    Edit: I've uploaded a video of this problem here: imgur.com/a/PlJuPZv
    Edit2: The issue also doesn't appear when you select "Auto" or "Always" for the "Shadow Cache invalidation Behavior". "Always" seems to be slightly more performance friendly than "Auto", but I guess the idea here was to avoid both of those options.

    • @Filgeck
      @Filgeck  5 часов назад

      Hey! Thats a weird issue. I think mine is not as obvious as yours and when the trees are moving - pages update correctly. Not sure what this is caused by but try looking into increasing VSM pages pool size and texture pool size. If that doesn't help try disabling nanite, lumen and virtual shadow maps to see which one breaks it. Also try different trees from quixel in a new project.

  • @SpicyAl3000
    @SpicyAl3000 24 дня назад

    Great! Thanks :)

  • @GarfSnacks
    @GarfSnacks 24 дня назад

    I know you mentioned you saw no perf gain from the virtual shadow map distance command, but I'm curious what the command was?

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

    Thanks for sharing! I see you are using oceanology as well. Why not Sky Creator instead of UDS? I have both and I was wondering if SC is more optimized than UDS and results to better better fps.

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

    awesome video

  • @rahulnmahajan7224
    @rahulnmahajan7224 2 дня назад

    Is that weather blueprint related to ultra dynamic sky?

    • @Filgeck
      @Filgeck  9 часов назад

      Hey! It's my own blueprint that I use to control UDS/UDW, material parameters (for snow) and wind strength.

  • @Josh_Alfaro
    @Josh_Alfaro 12 дней назад

    Awesome! Any chance we could get a tutorial on the forest?

    • @Filgeck
      @Filgeck  12 дней назад

      Thank you! I posted a follow up video showing how I made my forest

    • @Josh_Alfaro
      @Josh_Alfaro 12 дней назад

      Sweet! Thanks bro! Rare to see all the optimization tips in one video. Very useful

  • @user-gl3ew5pe2z
    @user-gl3ew5pe2z 28 дней назад

    This is what turns me of making big amazing looking projects. Is that I'm working with heater for the day, and I feel like it's not doing good for my pc for the long run. Do you think the water body plugin has much of an impact on fps? I notice that it gets my gpu fan running when I drop one in. Thank you for the video.

    • @Fafhrd42
      @Fafhrd42 25 дней назад +2

      Water plug-in is super expensive in-editor because it creates a whole bunch of rendertargets that it's writing to, but once packaged those textures get saved out and the performance hit isn't as large.

  • @gladiyit6771
    @gladiyit6771 27 дней назад

    ty