Distance Field Shadows go through meshes

Hey guys, I have a problem.

I have some movable meshes in my scene that I enabled Distance Field Shadows for them, but the shadows pass through other meshes.

Shadow on the other side of the wall: https://i.imgur.com/YLPPaiu.png
Object: https://i.imgur.com/OZBvnks.png

Is this fixable at all?

Thanks!

Double click the mesh in content browser and Check “Generate distance field as if Two-Sided”. Do it for the LODs too (if any).

Thanks but look what happens when I do it

It’s a movable actor with a Static Mesh set to movable.

Oh, it’s you Chris :smiley:
Sorry, didn’t see the name until I posted my comment.

Try tweaking Occlusion Max Distance parameter in the sky light. If it doesnt work for you you can import another mesh(a thinner box) and add it as Dist. Field Replacement Mesh in static mesh editor.

making the mesh thicker did not fix the problem for me! But I was able to solve this in my project.

I had the same issue and managed to fix mine by messing with a few things, On the skylight increase the Max occlusion distance, I fould if it was too low I would have this happen. With a setting of 500 and then a “occlusion exponent” of 0.6 seemed to work for me. Another this is the balance of strengh between the Skylight and the Dircetional light. If your directional light is much stronger than the skylight you will also get this. You can turn down the directional light strength a bit and turn up the skylight.

making the mesh thicker did not fix the problem for me! But I was able to solve this in my project.

I had the same issue and managed to fix mine by messing with a few things, On the skylight increase the Max occlusion distance, I fould if it was too low I would have this happen. With a setting of 500 and then a “occlusion exponent” of 0.6 seemed to work for me. Another this is the balance of strengh between the Skylight and the Dircetional light. If your directional light is much stronger than the skylight you will also get this. You can turn down the directional light strength a bit and turn up the skylight.