Summary
In UE 5.8.4 (CL 58902052), static Nanite trees with voxelized geometry lose all or part of their cast shadows when the physical Virtual Shadow Map atlas is 32768 pixels wide. The trees remain visible and ordinary meshes in the same scene cast shadows correctly. We observed this in a packaged Linux/Vulkan build and reproduced it in the Windows/Vulkan editor.
What Type of Bug are you experiencing?
Rendering (Graphics / Niagara)
Steps to Reproduce
-
Launch UE 5.8.4 with Vulkan on a GPU that supports 32768-wide 2D images. Enable Nanite Foliage and Virtual Shadow Maps. Leave the VSM cache enabled.
-
Place several static Nanite trees with Shape Preservation set to Voxelize on a flat surface. Use a shadow-casting directional light so the tree shadows extend onto visible ground.
-
Run r.DumpRenderTargetPoolMemory and confirm that Shadow.Virtual.PhysicalPagePool is 32768 pixels wide. Move the camera around the group and inspect the trunk and canopy shadows.
-
For comparison, relaunch the same scene with the Vulkan Profiles layer reporting maxImageDimension2D = 16384. Run the dump again and compare the shadows at the same location.
Expected Result
All trees cast continuous trunk and canopy shadows at both atlas widths. Changing the layout of a pool with the same capacity should preserve the shadow silhouettes.
Observed Result
At 32768 × 1024, entire tree shadows disappear or rectangular sections are cut out of several adjacent shadows. At 16384 × 2048, the missing shadows return. Both local runs used a 256 MiB R32_UINT pool with two array layers. The screenshots show these two runs on the original engine build.
Affects Versions
5.8
Platform(s)
Linux
Upload an image
Additional Notes
Windows repro hardware: NVIDIA GeForce RTX 4080 Laptop GPU, driver 610.91. In NaniteRasterizer.usf (CL 58902052, lines 1279, 1309–1313 and 1688), GroupSourceLaneAndPixelPos stores the lane index, X and Y in 5, 14 and 13 bits. The single-page VSM path uses physical atlas coordinates. For example, (16384, 0) decodes as (0, 1).

