You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Landscape: prevent landscape heightmap rendering from being disabled when nanite showflag is disabled. We can use the heightmaps as fallback in this case.
This is required for water heightmap rendering as well since we do not want to enable nanite meshes for that yet due to the issue of seams on the borders of the components' nanite meshes. #rb jonathan.bard [CL 22403807 by roey borsteinas in ue5-main branch]
This commit is contained in:
@@ -1391,7 +1391,7 @@ FPrimitiveViewRelevance FLandscapeComponentSceneProxy::GetViewRelevance(const FS
|
||||
}
|
||||
#endif // !UE_BUILD_SHIPPING
|
||||
|
||||
if (bNaniteActive)
|
||||
if (bNaniteActive && View->Family->EngineShowFlags.NaniteMeshes)
|
||||
{
|
||||
Result.bShadowRelevance = false;
|
||||
Result.bVelocityRelevance = false;
|
||||
|
||||
Reference in New Issue
Block a user