Hi all,
We know the nanite doesn't support masked mesh Officially on UE 5.3 so what I try to do here is to optimize the landscape scene
Here are some steps, maybe it will help you:
- RVT (Runt time virtual texture)
If your landscape contains more than 3 blending layer maybe it will be costly, check it on shader complexity, RVT is a solution for that plus it will help you to blend nanite mesh with the ground.
- Level of details (Lod) for all non nanite mesh and foliage
- Disable cast shadow for last one or two Lod then Enable Contact Shadows for the main light. any Lod without shadow will use Contact Shadows off-hand.
- Reduce Dynamic Cascade Shadow for the main light - in my case I made it 5000 only.
- Disable WPO (World position offset) like a wind effect on far LOD foliage you don't need it at long distance.
- Use cull distance for foliage, specially small one.
console command that help:
Please check the default value for each before you change it.
- if RVT start flecking you can try this command:
r.VT.MaxUploadsPerFrameInEditor 8
r.VT.MaxUploadsPerFrame 8
r.VT.MaxContinuousUpdatesPerFrameInEditor 2
r.VT.MaxContinuousUpdatesPerFrame 2
r.VT.MaxAnisotropy 8
Lumen:
r.MeshDrawCommands.DynamicInstancing 0
r.Shadow.Virtual.NonNanite.IncludeInCoarsePages 0
r.Lumen.Reflections.DownsampleFactor 1.98
r.Lumen.ScreenProbeGather.Temporal.DistanceThreshold 1.7
r.RayTracing.NormalBias 5.0
r.Lumen.ScreenProbeGather.MaxRayIntensity 10
r.Lumen.ScreenProbeGather.ScreenTraces.HZBTraversal 0
r.Lumen.Reflections.HierachicalScreenTraces.MaxIterations 4
Virtual Shadow:
r.Shadow.RadiusThreshold 0.05
r.Shadow.Virtual.Clipmap.LastLevel 15
r.Shadow.Virtual.ResolutionLodBiasDirectional -1.1
r.Shadow.Virtual.Clipmap.UseConservativeCulling 0
r.Shadow.Virtual.Cache.MaxMaterialPositionInvalidationRange 3500
r.Shadow.Virtual.ForceOnlyVirtualShadowMaps 1
r.Shadow.Virtual.UseFarShadowCulling 0.1
Finally, there is a flicking shadow of the character's hair, I tried in new file without any changes and no success so far. If someone knows the solution Please write in the comment.
I hope you guys find this tips helpful
thanks
-Plugin in
Ultra Dynamics sky
Assets:
Megascans Trees
Windwalker Echo Character
Sound Phenomenon
-Graphics card hardware
1 GPU 3080 RTX