LOD 0 Landscape meshes are always updated in FLandscapeComponentSceneProxy::GetDynamicRayTracingInstances because* r.RayTracing.Geometry.Landscape.LODsUpdateEveryFrame* (GLandscapeRayTracingGeometryLODsThatUpdateEveryFrame) defaults to 0 and bNeedsRayTracingGeometryUpdate evaluates to true.
Setting r.RayTracing.Geometry.Landscape.LODsUpdateEveryFrame to -1 prevents this behavior.
Steps to Reproduce
1. create a level with a landscape actor
2. enable ray tracing in the project
3. set a breakpoint in FLandscapeComponentSceneProxy::GetDynamicRayTracingInstances *on *Collector.AddRayTracingGeometryUpdate
Expected
After all Landscape raytracing geometry is uploaded the breakpoint isn't hit until the camera moves.
Actual
The Landscape meshes with LOD 0 will continually hit the breakpoint and have their raytracing meshes updated.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-270607 in the post.
0 |
Component | UE - Graphics Features - Ray Tracing |
---|---|
Affects Versions | 5.5, 5.6 |
Created | Apr 11, 2025 |
---|---|
Resolved | Apr 14, 2025 |
Updated | Apr 14, 2025 |