I am using SceneCaptureComponent2D and I noticed that when the movable object on a scene casts shadows and I see them from my viewport, the shadows are not appearing on captured images from SceneCaptureComponent2D from some distance.
If I move closer, they appear again. But at some point they disappear - though I still see them through my camera (from viewport).
I am not using ray traced shadows and if im not mistaken SceneCapture doesn’t support them due to performance issues (but maybe it changed already and it supports them), so my question is:
Are there any ways for increasing shadows’ rendering distance?
Have you tried increasing the capture component’s Far Clip Plane to extend the maximum render distance?
In the directional light that casts the shadows, have you tried increasing the Dynamic Shadow distance and adjusting the Cascaded Shadow Maps?
Try increasing your Max Shadow Distance
It could also happen due to your Shadow Map Resolution try increasing that too
In your SceneCaptureComponent2D make sure your Capture Source is set to SceneColor HDR in order to capture all the lighting and shadow information.
If you’re not using ray traced shadows try using Screen Space Shadows for long distance shadows.