I’m working on a project in Unreal Engine 5.5 using Lumen for lighting. The scene consists of a landscape and a large Earth object in the sky. The sun rotates dynamically, and when it passes behind the Earth, it needs to correctly cast a shadow onto the landscape. However, when the sun moves to the other side, I don’t want the procedurally generated (PCG) rocks on the landscape to cast shadows onto the distant Earth object.
Since the rocks are static, traditional Dynamic Shadow Distance settings don’t seem to apply. I’m looking for a way to limit shadow casting distance for these PCG-generated objects while ensuring the directional light still interacts properly with the landscape and Earth.
Is there a way to prevent specific objects from casting shadows on distant objects while keeping them active in the local scene? Any insights would be greatly appreciated!
Thanks!