BOOST Foliage Performance In Unreal Engine

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

КОМЕНТАРІ • 215

  • @rabellogp
    @rabellogp Рік тому +455

    There is actually a parameter in the foliage type for that. It's called "World Position Offset Distance". You can set a distance value there and any instance actor beyond that distance will have WPO disabled for performance. Landscape Grass Type also has it.

    • @JoshuaMKerr
      @JoshuaMKerr  Рік тому +83

      This won't give you the same increase as disabling within the material unfortunately. Trust me, I've been over those settings.

    • @rabellogp
      @rabellogp Рік тому +7

      @@JoshuaMKerr that's interesting... Good to know, thanks!

    • @TGADB
      @TGADB Рік тому +13

      @@JoshuaMKerr use a distance blend between 0 wpo to wpo complex which mega scan uses. Speed tree also have this issue, so basically, wpo from these are very complex. Ideally we want to have branch wpo for mid range , and no wpo to long range. This problem occurs if you just drag and drop without knowing what those asset comes with , this is very basic mistake as for some reason people think , just drag and drop gonna work, but it won't unless one use their own brain

    • @xxerbexx
      @xxerbexx Рік тому +9

      @@JoshuaMKerr well, lets be honest this is a extremly poorly optimized tree. what u want to do is creat ur own proper trees from scratch and have them be optimized. also the mat is way to insain.

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

      @@JoshuaMKerr whats the delta between the increases? are we talking about editing the material gaining an extra couple frames? or are we talking double digit percent?

  • @ИльяМаксимович-ч1о
    @ИльяМаксимович-ч1о 10 місяців тому +15

    You also can turn on mask calculation only in Depth Buffer (Project Settings - Mask Material Only in Early Z Pass). It works much faster on high masked overdrawed scenes (forest for example )

  • @Clazzid
    @Clazzid Рік тому +56

    There is a setting in the foliage which removes WPO at a certain distance, it's called "World Position Offset Disable Distance"

    • @JoshuaMKerr
      @JoshuaMKerr  Рік тому +4

      Yes there is. It definitely should do the job but I may have something funky going on with my project. Might try with a clean project next time.

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

      I was just going to suggest some kind of distance based WPO but I didn't know there was an actual function for this.

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

      @@unrealdevop It exists. Just not sure about the gains. Will do more testing

    • @res0lve
      @res0lve Рік тому +4

      @@JoshuaMKerr I'd like to see the difference between this video and the WPO distance, do a comparison video maybe :D

    • @JoshuaMKerr
      @JoshuaMKerr  Рік тому +4

      Think I may have to

  • @ThreeTreeDog
    @ThreeTreeDog Рік тому +47

    Trees with nanite are best fully modeled, white space is a killer on any mesh in masked on large scale. You can distance blend the opacity from 0-1 to decrease the cost on masked at further ranges, thereby making the trees fully opaque in the far field. Also unchecking collision and ray tracing in the material. That with using the wpo distance variable and simplifying shaders nets great results at ~60fps

    • @Fafhrd42
      @Fafhrd42 10 місяців тому +2

      The masked materials, especially with nanite, are definitely a killer, and it's really annoying that the megascans trees haven't been updated to have fully cut out leaves and opaque materials for usage with nanite because it's tedious as hell to do it manually.
      Though WPO cost also goes up with vertex count, so it can be a complicated tradeoff.

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

      @@Fafhrd42 yea, I just finished converting all our vegetation from masked to opaque. Luckily, I managed to automate that task using Houdini shenanigans so it was a few-clicks solution. Huge gains in performance.

  • @QuiteDan
    @QuiteDan Рік тому +14

    I was pretty shocked at how expensive WPO was, considering how nearly every asset creator turns it on for trees, foliage, and grass. But very few of them will make LODs that disable WPO with distance.

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

    Already knew about disabling WPO in the foliage menu; tried both culling by distance or disabling WPO altogether - figured I'd give this a try. Removing the WPO pin in the material actually worked for me also. Reduced the shader complexity from a deep red to green.

  • @Podolstein
    @Podolstein Рік тому +42

    I think you could make the workflow more scalable by switching the material based on LODs in just one mesh asset. If you switch to a different LOD in the mesh viewer or click the "Custom" tickbox in the LOD Picker section you can specify different materials for different LODs. I hope that helps!

    • @JoshuaMKerr
      @JoshuaMKerr  Рік тому +7

      That is interesting and I've definitely never tried it. Thanks for the suggestion.

    • @lethaldumpster2699
      @lethaldumpster2699 Рік тому +4

      @@JoshuaMKerr Yes I use this method too, its incredibly effective. But stops being so effective if using Nanite. But then again, I'm not a fan of nanite to begin with due to its limited performance on very old hardware.

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

      Ah this might be tricky then, I use nanite a lot unless I plan on pathtracing.

  • @officialauspecs1285
    @officialauspecs1285 Рік тому +6

    I am working on an open world bushcraft survival game with hundreds of thousands of trees and have been using the "camera depth fade" node to lerp between my world position offset wind effects and "0". This works well but am just discovering the world position offset distance bool in the foliage type properties and wonder if that would be better in terms of performance.

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

      world position offset distance deffinitely does something but even on a blank project I get better results just turning it off in material. Haven't tried a lerp though, good idea.

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

    I've only recently started playing around with landscapes in UE and naturally downloaded the same mega scans tree. I just thought my old machine was just becoming a toaster. I never accorded to me that the WPO was what was tanking my FPS. It always seems to happen when my RHIT goes through the roof. At least now I know what causes it so thank you. :)

  • @xaby996
    @xaby996 Рік тому +6

    The best way is to use a plugin which has 2 trees for each "tree". one is moving with no shadow. and the other is not moving, but invisible, while rendering just the shadow.

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

      Hi mate. Yeah I've heard of it. Super useful

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

      What is the plugin name?

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

      ​@@syedhsUE5.3 has this feature now built in

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

      He says that but don’t say the name of the plug-in , Jesus 🤦🏻‍♂️

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

      You need to search for Foliage Shadow Imposters. There's a github page for it.

  • @marceloaanascimento
    @marceloaanascimento Рік тому +4

    For a non destructive workflow, one thing you can do is using a static switch operator in you master material that enable or disable the wind accordingly your material instance. I think it may work instead of creating two master materials, then you just duplicate the instances

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

      Could work and definitely worth a shot. But (unless you've tried it) I am finding that these sorts of workarounds may not actually give the same performance back.

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

      @@JoshuaMKerr Sadly I have not tried yet so I don't know how it will affect performance. Someone commented here that the materials will be compiled in the same way, I don't now how it works in this case but at least it still could be useful on a more flexible approach.
      Anyways, I am following the comments because the tips are being pretty useful!

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

      @@JoshuaMKerr I use static switch parameters all the time and it never gives performance issues. It will just be compiled again. That said, unreal can be a bitch when it comes to performance. Not just ue5 with (or without) its new fancy features, but compiling a material or changing a parameter can negatively affect the performance for a few minutes. Heavy raymarching can even trigger stuttery fps drops after some time in full screen mode. I almost hope something is wrong with my pc

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

    I just recently found out that Unreal Engine got a "World Position Offset Disable Distance" for foliage types now. :) So no need for multiple materials any more.

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

      Is that not just part of the procedural content generation feature set?

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

    What if we were to instead set up 2 camera volumes in place of the single one and adjust the clipping planes so we have a 'close' frustum and 'far' frustum, and only use the WPO-enabled material when drawing the 'close' volume? You'd have to do some deep magic to make the shadows and nanite occlusion culling work, but my intuition says that it could improve performance

  • @josembdn
    @josembdn 5 місяців тому

    It shows very quickly the increase in frames, thank you very much

  • @fran.fndz.techart
    @fran.fndz.techart Рік тому +2

    As people say there’s WPO offset distance + set the shadow map update to static at the instance group level (keep shadow with performance)

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

      For some reason, this method hadn't worked for me in my last project, but then started working again in my next one. Go figure

    • @petebaker5369
      @petebaker5369 6 місяців тому

      How do I do the second part, where are the settings?

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

    I just use camera depth fade and lerp between the Wind MF output and 0 (plug the depth fade into the alpha.)

  • @joonasmansikka2482
    @joonasmansikka2482 Рік тому +6

    I wonder why UE5 doesn't take some sort of nanite approach to material properties. If a tree moves in a forest, but nobody is close enough to see it, is it really worth moving?

    • @JoshuaMKerr
      @JoshuaMKerr  Рік тому +4

      Haha I love that. But yes I can see that being useful. I'm sure it's on their radar because the wpo performance kinda defeats the point of the gains you make with nanite.

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

    There is also 1 very cool option - turn on RTX shadows in the direction light - it increases performance for me in almost each scene by at least at 50% buuuut it causes so many visual bugs and problems, so I would suggest using it only for dark scenes or where you won't see that problems)

  • @roadtoenviromentartist
    @roadtoenviromentartist 24 дні тому

    Quicker solution. Enter master material add a switch to select with face camera asset or not.. no more duplicate material instance or master material.

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

    Invaluable tip for performance!

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

    Perhaps this is caused in combinaation with virtual shadow maps requiring a recalculation with movement

  • @LukasBruess
    @LukasBruess День тому

    Haven't tried it, but you could trace for close by tree instances and set their material to the WPO one and revert it through another trace.

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

    This is great for a fixed path through the trees, but what about wandering through an open world forest? Can't have some trees blowing and others not... So you use the player pawn's location to detect trees entering your vicinity and switch them to the blowy instance, and switch back when it leaves your vicinity. I think it's possible to switch to a low poly "tree blob" at far range to save triangles.

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

      I think this guy is more of a filmmaker with Unreal, so for his purposes, he will always have a fixed path. So I suppose this works for people who just want to set up scenes for filming rather than game dev

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

      @IcarusTheEagle Absolutely right

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

    interesting solution!
    but isn't there a more dynamic solution? for example making trees use the windy material near camera and no wind when away from camera instead of manually placing them?

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

      As far as I'm aware there is a more dynamic solution in 5.2 which uses the new procedural tools. But in 5.1 I've had a lot of trouble getting anything like that working.

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

    Trying to optimize my game, open UA-cam and this is my top recommended video?? UA-cam stop spying xD

  • @2BRE-
    @2BRE- Рік тому +1

    hey, thanks for this tutorial, but you use the editor.... what about the build? is there much difference in FPS/performance on the build too?

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

      Sorry, I've no idea. I use Unreal for virtual production filmmaking. I don't make games.

    • @2BRE-
      @2BRE- Рік тому +1

      @@JoshuaMKerr i will check and let you know

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

      @2BRE- Thanks man

  • @manicassassin4542
    @manicassassin4542 9 місяців тому

    Wouldnt it be easier to just turn off wind when you paint the bulk? And then turn it back on when you paint the other? Or would it switch it for all of them?

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

    THANKS for identifying this problem and finding a workaround. Lets hope EPIC will fix this soon, so that none of us have to fiddle around with the #megascans assets to address this issue...

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

      I really hope so. It's a pain really.

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

    Hi Joshua, loving the vids. You've got me wondering if there's a more flexible way to do this say by parenting a post process volume to the camera. Everything outside the volume has the offset off and everything inside has it on. That way, simply moving the camera around adjusts the offset on or off depending on it's proximity to the camera. Same effect but allows multiple shots to be set up without repainitng the foliage. I have no idea if this is possible by the way!

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

      Or perhaps a custom bluepint?

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

      "Utilize the Camera Position material node as an anchor for your masks. For example, if you pair it with the Absolute World Position, Camera Direction Vector, and the Sphere Mask nodes, you can mask out a consistent location based on the forward vector of the camera in world-space.
      This masking method is helpful for adjusting the World Position Offset of foliage, fading out walls when the character is behind them, etc."
      Maybe this?

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

      I like the idea. Although I'm certain that the performance boost only occurs when it is disabled in the master material rather than by material attribute. So you would need to do the material switch via blueprint if that's possible. I'm not very good at blueprint though haha

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

      Maybe you could give it a go and let me know

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

      @@JoshuaMKerr It's definitely possible to change material during runtime using blueprints. You just have to create a node called dynamic material instance, and then you can switch between material instances by programming the blueprint the way you want to. I did it a few times when the client wanted some materializing effects for the scenario to show up from the infinite black background as a surprise, but the materialize effect was very heavy on performance. So one way I found to help me save some fps after the materialize effect was done, was to programmatically change the material instance to an identical, more simple material without the materialize effect hooked to it. I worked perfectly! Saving up fps and optimizing performance is the coolest thing ever!

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

    Thank you very much for sharing this. I wonder if you could also lower the lightmap resolution for even better performance. I do that in darker scenes. Great stuff! 😊

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

      I can certainly try that too.

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

      It’ll make a smaller difference, but a difference nonetheless. I love your content, by the way. Bravo!

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

    Thanks a lot for your tips !
    Can we activate and disactivate the leaf movement of each tree when a player cross the forest ?

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

      I'm sure it's possible, but my channel is filmmaking and virtual production focused, so I'm probably not the best person to ask.

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

      @@JoshuaMKerr ok thanks for your reply Joshua !
      And congrats for your work !

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

      Thanks!

  • @davidhuns7545
    @davidhuns7545 9 місяців тому +1

    4:45 would be simpler to have a material custom pin for those assets that only move on the actor with a tag. smart material.

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

    or with the camera distnace use could've use lerp to disable the animation when in certain distances, and if the camera gets near then the WPO will play.

  • @VDGames_Studio
    @VDGames_Studio 5 місяців тому

    Why not disable WPO in the material depending on the player's camera?

  • @sarahs.9634
    @sarahs.9634 11 місяців тому

    Huge thanks, this helped me with my final project!

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

    why dont you use a switch node in the base master material to toggle between the original wind and the WPO?

  • @InitialStates
    @InitialStates 6 місяців тому

    Very insightful ! Thank you !

  • @islandonlinenews
    @islandonlinenews 9 місяців тому

    When I apply WPOD the trees just stop moving period. What is wrong?

    • @JoshuaMKerr
      @JoshuaMKerr  6 місяців тому

      Without seeing your setup, it's impossible to tell. Maybe join my discord and post in tne support forum with images.

  • @slumsnake1303
    @slumsnake1303 6 місяців тому

    Original solution. And it definitely works, thank you!

  • @CabrioDriving
    @CabrioDriving Рік тому +5

    I am surprised Unreal Engine is animating (wind) trees invisible to the viewer's viewframe.

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

      For sure.

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

      perhaps in case the trees cast a shadow that _is_ in the viewframe, or would significantly affect global illumination. I'm not sure what would be a good way to handle that scenario, but then again I'm not a game engine dev.

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

    This is really strange. I haven't started using UE5 yet, but WPO shouldn't be affecting performance at all. That's the whole point of it. You get really low cost animation because you're simply moving the position of the verts. I wonder if it's something else that's actually tanking the performance.

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

      I'm sure it's some strange mix of WPO and virtual shadow maps buut I'm not sure. There's been at least two engine versions since then so maybe it's sorted.

  • @МихаилТалагаев-я2з
    @МихаилТалагаев-я2з 11 місяців тому

    i love your lessons!

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

    What I found on the Unreal Learning website. I don't know if this is still the case.
    Currently, there are some limitations to Nanite. Some of these limitations may change with future updates. Here are some of the limitations:
    Materials for Nanite can’t have:
    Two sided materials
    Non-Opaque blend modes
    World Position Offset
    Pixel Depth Offset

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

      I think much of this has changed since I made this video

  • @raphaelmillies-lacroix570
    @raphaelmillies-lacroix570 Рік тому

    How much the simplewind version help with performance in this case ?

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

      I'm not sure, I haven't tried. My feeling is it wouldn't help much.

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

    Cant you also just use the new model and materials as LOD?

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

    great video!

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

    Hi Joshua! Did you try path tracer with megascans trees in 5.1? There's no way to make the wind blow in pathtracer...tried everything. Do you know if in 5.2 its fixed? Thanks

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

      I haven't looked but may have to.

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

      @@JoshuaMKerr thanks for your reply. I find that wind doesnt work with nanite and pathtracer so have to deactivate nanite inside tree mesh to make it work. Cheers

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

      Aha. Good to know

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

    THX FOR MIC NOISE

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

    The ark devs should see this

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

    Is this still a issue in 5.2? turning off WPO is not practical in a real game.

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

      Culling would be better for games although my focus for the channel is cinematics and virtual production.

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

    Any updates on wpo and nanite? 5.4.3 , nanite increases my landscape performance in editor (i turn off during edit) but can't use wpo on landscape as it breaks camera move

  • @Funny_mustache_guy
    @Funny_mustache_guy 9 місяців тому

    you are a god, a legend sir

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

    Genius!

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

    Cant you do like the trees withinf your radius start moving and when its outside the radius it stops? You can use thwt for openworld games

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

      There is a setting for this but I see no performance difference. I have to unhook the wpo in the master material to get the fps back up.

  • @studio.suha34
    @studio.suha34 11 місяців тому

    You are my hero. Just Now

  • @markecgazda3880
    @markecgazda3880 7 місяців тому

    hm can be something done with making shadow of foliage to use less performance but still keeping and having shadows from trees, have ones cake and eat it too? I have noticed that shadows are causing my problem

    • @petebaker5369
      @petebaker5369 6 місяців тому

      yeah same problem on my side, anyone have a solution?

    • @JoshuaMKerr
      @JoshuaMKerr  6 місяців тому

      Its probably a mix of shadows and wpo. there is aparrently a setting in the foliage mode that allows you to cull the wpo by distance. try that.

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

    just use wpo evaluation distance and some kind of distance fade wpo function to hide the disable WPO moment

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

    SOOOO HELPFUL

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

    why not to switch off animation right in shader function by distance?

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

      I think it should work but there's something funky going on in my project so the gains aren't as much as if I unhook the node.

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

    I am working on 1 scene with alembic cache character build with the grass on the landscape, The problem is while rendering the shot its consuming too much of time around 2, 2:30 hours
    Can you help me with this. Is there any setting in material or in grass attribute which can help to reduce the render time?
    Thanks. :)

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

      Thanks fo rthe comment, without looking at your scene/project settings it's really hard to tell. Perhaps you could join my discord and post in the support forum. At least that way you can post pictures of the problem.

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

    Is it problematic to put no WPO Material on distant trees using the LOD system which change the Material at LOD1 LOD2, LOD3... so at LOD1 it can use WPO, at LOD2, LOD3.. will use the No-WPO Material.
    Is it feasable? the probleme i see is that we have 2 Material. does it take a lots of performance?

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

      There must be an easier way. I'll see if I can figure something out.

  • @jamesbrady1930
    @jamesbrady1930 9 місяців тому

    is this applicable to a large map say 1.5km? meaning have a number of movable trees in the foreground? and the rest non-moving beyond that in the map?

    • @JoshuaMKerr
      @JoshuaMKerr  9 місяців тому

      probably better off with some of the solutions people posted in the comments. Apparently, in the foliage tool, you can set the distance cutoff for world position offset.
      It just didn't work for me back when I published this video.

    • @jamesbrady1930
      @jamesbrady1930 9 місяців тому

      pretty much what I did in the end with the distance offset. tried the other way, didn't do squat really.

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

    i wonder if theirs a way to do this in blueprints where all the trees are static accept for the trees around u and when u move through the game it automatically enables and disables trees

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

      I'm sure there is but I don't do much with blueprints. I use unreal for filmmaking rather than building games.

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

      @@JoshuaMKerr ok thx a but of a random question so im learning ue5 im not sure if im going the game route or the film making route yet do u know of a good course that teaches ue5 for filmmakers (so lighting ,camera ,and sequencer and animation something like unreal senseis masterclass but for filmmakers or Evan something thats fully focusing on cameras ) will be much appreciated

  • @MrLarsalexander
    @MrLarsalexander 9 місяців тому

    Why not add a material to a LOD that has WPO turned off?

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

    what if the trees are turned into LODs and let that drive the material swaping? Or alternatively maybe we can just animate the texture only at distance and not mesh to fool people into thinking it's a moving tree.

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

      I'll need to have another look at this, but when I tested it, I didn't get much improvement using other methods. Yours sounds like it would work

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

    you are a life saver!

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

    Hello! very nice tutorial! Im'm running into an issue with my brushify grass - it is not showing with pathtracer enabled in viewport or on renders, but works in lit mode.. could anybody help please? I have no idea why it is happening but it was so nice to make levels fast with their materials and especially grass

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

      Interesting, I haven't come across this issue. Let me know if you solve it.

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

    I am on a 1080 TI and my FPS are only 25fps with just 50 of these trees. At 150 trees I'm down to 10 FPS. How do you add so many trees and it's still smooth?

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

      Are you using nanite? Otherwise the GPU I'm using is the 3080, so maybe that.

    • @fullbars
      @fullbars 10 місяців тому +1

      @@JoshuaMKerr Yeah I have other megascans assets from quixel bridge that work fine. But these trees from UE Marketplace kill my FPS

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

    OMG Thanks bro !

  • @drummerman883
    @drummerman883 5 місяців тому

    Like other asset types the studios Ive worked for just use LOD's for the well... LOD's lol

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

    Amazing Tutorial! Thanks!!!

  • @burov.a.4467
    @burov.a.4467 Рік тому

    Thank you for a useful lesson! Please take a lesson on how to properly create a landscape and textures for it. Usually, when a landscape is created and the texture of the earth is superimposed on it, it looks stretched and not very detailed, it is interesting to find out how to make a landscape with textures of earth, stones, grass look detailed and realistic.

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

      It crossed my mind for sure. I'll see if I have time for some landscape material stuff.

  • @rifat.ahammed
    @rifat.ahammed Рік тому +1

    Great

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

    blessing!

  • @Gamer-sv2mz
    @Gamer-sv2mz Рік тому

    hum . i have a problem . when i quit and i back on my scene , all the duplicated trees are gone ...

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

      That's very strange. I haven't come across that problem before

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

    So your solution is ultimately, just to have less moving things... imagine that.

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

    Thumbnail was clickbait, I came looking for a comparaison between low and high fps foliage. Skipping through the video shows no such thing.

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

      Sorry tha you feel that way. The video is about improving fps performance of foliage as mentioned in the title. I think the thumb tells that story.

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

    0:16 what are you right clicking here? its impossible to see you zoomed in on that menu way too hard

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

      Right click on any asset in content browser to see that.

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

    Life Saver! s2 s2 s2

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

    Yeahhh.... as long as your player character never moves, this is great. lol I guess if you needed performance on your title screen?

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

      I use unreal for filmmaking, that's what the channel focuses on.

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

      @@JoshuaMKerr That makes more sense. Sorry. I just stumbled across the video and didn't pay attention to the context.

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

      It's okay. I wasn't mega clear in the video:)

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

    mate if you are here and trying to increase your projects performans just like me remember that the main problem is your system.

    • @JoshuaMKerr
      @JoshuaMKerr  8 місяців тому +1

      That's not always the case. Sometimes software can tank even the most robust computer. Optimisation matters

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

    What you do is not the solution. World position offset drop fps because of VSM does not cache shadows. You cant close VSM, thats the only way of castig shadows on nanite. What you can do is disable cast shadows on nanite assets, make their duplicate, disable nanite on the new foliage, disable the imposter foliages visibility and enable its cast shadows. place the nanite tree and imposter tree on the same spor and orientation and size. Now you have cache shadows with nanite altho its not perfect its the only solution.

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

      I've seen there's a plugin that can do this.

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

    It is irrelevant but I liked your face gesture while you are speaking. I couldn't help myself not to look at your eyebrows and your forehead. The way you use them made me lost my focus. But it was a great tutorial, though...

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

      Well that's nice. I didn't know I had hypnotic eyebrows

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

      Yeah, such a handsome guy, I can bet you have friends everywhere you go ❤😊

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

    this is a half solution what if you build an open world?

    • @JoshuaMKerr
      @JoshuaMKerr  8 місяців тому +1

      If you're in the game dev space, then yes, this isn't a solution for you. My channel is about virtual production, filmmaking, and cinematics.

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

    No like ??/ I cannot like it ??

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

    Have you seen UnrealityBites solve similar problem using PCG in UE5.2?
    ua-cam.com/video/9DY9Xe1KRW8/v-deo.html
    Not sure if this helps. But he has a good explanation on grass which should work with trees too.

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

      Yeah seems like a good solution if you're in 5.2 and using PCG.

  • @DeadScot194
    @DeadScot194 6 місяців тому

    Damn it, thought this was for games until i got to the end. Waste

  • @marshals.
    @marshals. Рік тому

    what why it's called european beech lol 0:12

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

    "Activate Windows" 🤣

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

    Mean while every UE5 game launched have the worst performance possible and is absolute broken.

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

      Is that the case? I'm using UE for filmmaking mainly so haven't kept tabs on game releases.

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

    nanite is garbage nothing help still sucks fps

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

      What's your biggest challenge with nanite