How to increase foliage shadow distance?


Shadows disappear too fast

2 Likes

Hello!

This can be done in the Project Settings > Rendering section.

Look in the Culling properties tab under Min Screen Radius for Lights. The default is 0.03, but you can try lower values to get the results you want.

I hope it helps you!

@AngelBieliukas thanks for your answer, but that didn’t help :frowning:

try this console command

"r.Raytracing.Geometry.InstancedStaticMeshes.Culling 0 "

3 Likes

What kind of shadows are you using? CSM, DistanceField Shadows? Assuming CSM just go into the directional light and adjust the Dynamic Shadow Distance MovableLight setting. You could also add DFS on top of that so whenever CSM is culled its replaced by cheaper distance field shadows as long as your meshes/foliage has this enabled (and you’re not using landscape grass types).

3 Likes

that’s because “cast ray traced shadows” in your light source is set to “use project settings” or “enabled”. set it to “disabled” and that should work

3 Likes

Have that problem too, can’t fix
Any suggestions didn’t help

try that console command:
foliage.LODDistanceScale 5

3 Likes

This worked for me. Thanks.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.