In this lesson, you will learn how to fine-tune Landscape and foliage LOD transitions to maintain visual consistency and performance stability across diverse hardware specifications.
When deploying a large-scale open world, the primary challenge is managing the density of landscape geometry and foliage instances as the camera travels. If your LOD settings are too aggressive, you will experience "popping" artifacts; if they are too conservative, you will hit GPU bottlenecks on lower-end hardware.
Configuring Landscape LODs
For Landscape actors, the LOD Distribution is managed through the Landscape component settings. Instead of relying purely on distance, focus on the LOD Distance Factor. A lower value keeps high-detail meshes visible longer, while a higher value collapses geometry earlier. For seamless deployment, use the LOD Fallback settings to ensure that distant proxies—which you’ve already optimized via Landscape Streaming Proxies—maintain a silhouette that matches your high-poly terrain.
Foliage LOD Optimization
For foliage, you are likely using Hierarchical Instanced Static Meshes (HISM). To finalize these for deployment:
- LOD Factor: Adjust the
LOD Distance Factorwithin the Foliage Type settings. Test this in theLevel Viewportusing the "LOD Coloration" view mode to visualize where transitions occur. - Cluster Culling: Ensure your
Instance Cull Distancesettings align with yourWorld Partitiongrid cell sizes. If a foliage instance is culled at a distance smaller than the grid cell, it will vanish before the cell itself unloads, causing an unsightly "pop." - Cross-Platform CVars: Use your established
Platform-Specific CVar Presetsto scale thefoliage.LODDistanceScale. This allows high-end PCs to render dense grass at 20,000 units, while mobile or console targets can clamp this to 8,000 units without requiring unique assets.
; Example CVar adjustment in your Device Profiles
[Android DeviceProfile]
foliage.LODDistanceScale=0.5
r.LandscapeLOD0DistributionScale=2.0
By balancing these distance factors against your target hardware’s frame budget, you create a smooth, "pop-free" experience that scales gracefully from high-end workstations to mobile platforms.
Key Takeaway: Seamless deployment relies on aligning your LOD distance factors with your World Partition streaming cells to ensure geometry transitions remain imperceptible to the player.