Why is my foliage turning black at a distance ?

I’m wondering why the foliage i painted on is not working past a certain distance.
you can see it turns black and kind of disappears, then when i get closer it reappears.

[Here is the video that shows it happening]
(foliage)

I know this was a while back but this could still help someone, I had this issue a lot when first starting out.

There’s a few reasons I’ve found that can cause this to happen.

  1. Nanite, the geometry is changing shape/size as you move away, try enabling ‘preserve area’ in the nanite settings and adjusting the triangle percent.

  2. your foliage is using a mask texture which is being mipmapped, basically the mask texture is changing resolution as you move further away to the point where it’s no longer masking the shape of the leaves etc correctly leaving just the shadows visible. Try disabling mipmaps on the texture. In the texture settings under mip gen settings, change it to ‘no mipmaps’’

  3. If you’re using nanite, you may have too much foliage for your current settings so the nanite is being culled but leaving the shadows. You can change the maximum nanite triangles/clusters in the project by using console commands, try playing about with -

r.nanite.maxnodes
r.Nanite.MaxVisibleClusters

  1. LOD settings, LODs maybe causing the issue, try disabling LODs if they’re being used. Being new to UE since 5.0, I’ve not used LODs due to nanite, but have uncounted them on older assets, therefore I’m not 100% sure but I think you need to set the number of LODs to 1 and enable LOD 0 in the mesh settings.
2 Likes