Pathtracing foliage issues

Hello. i have 2 issues with my foliage actor in UE 5.3 using pathtracing. As you can see, grass close to the camera at the bottom of animation is behaving weirdly, kind of popping up and disappearing.
Second issue is with wind at megascans trees, it looks like its “lagging” in some areas. I used globalfoliageactor for megascans trees to simulate wind.
Link for animation: https://www.youtube.com/watch?v=hVVdqnfaE_I
Link for screenshot: ue5-issues hosted at ImgBB — ImgBB

Console commands i used:
r.PathTracing.ProgressDisplay 1
r.Raytracing.Geometry.InstancedStaticMeshes.Culling 0
r.Raytracing.Geometry.InstancedStaticMeshes.EvaluateWPO 1
r.RayTracing.Geometry.InstancedStaticMeshes.SimulationClusterRadius
r.RayTracing.Geometry.InstancedStaticMeshes.SimulationCount
r.Raytracing.Geometry.InstancedStaticMeshes.Culling 0
r.ScreenPercentage 200
r.forceLOD 0
foliage.forceLOD 0
foliage.MaxTrianglesToRender

Any Solution for this issue? Im facing similar problem with pathtracing and wind

I dont have solution to wind, but maybe i have solution for ghost foliage (didnt tested it). In project settings search for velocity pass and set it to “write during base pass”

1 Like