Shadows not working under skylight and perspective camera

I’m trying to use a skylight to simulate a forest map, but my lighting has not created the same shadows in my Perspective Camera, as seen from the shadows of the trees. The camera view shows the map without any shadows.

When I press play, there seems to be some semblance of a shadow, as seen below. However, I want a crisp shadow like the one above, but nothing I do seems to resolve it.

The skylight and directional light both already have cast shadows ticked. Does anyone have any advice?

Upgrade to 5.3 and use an ortho camera.

Honestly it’s hard to know what the problem with your scene is but my guess is that because you’re using a perspective camera to emulate an ortho camera, it is simply too far away for cascaded shadow maps to render. Inset shadows also have a max distance from the camera… There are no good options to fix this in UE4.

1 Like

Switching to orthographic caused the camera to not render any light except for emissive materials. Apparently this has been an issue for a while.

https://www.reddit.com/r/unrealengine/comments/zvau64/about_the_orthographic_camera/

My solution ended up being just compromising on the isometric view slightly by reducing
the distance of the camera from the map while increasing FOV to an acceptable value. No longer looks too orthographic but it still fits my needs for an isometric game. Thanks!

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