Shadows disappear on the distance

Hi guys! I use skylight and the shadows on objects disappear when the distance changes. How I can fix it?

2 Likes

Hi,

I saw an answer to this, it was to “change the shadow distance on the light” See attached image.

2 Likes

I can solve this problem! I just increase “Lumen scene view distance” in PostProcessVolume and shadows come back!

3 Likes

That setting doesn’t work on Unreal Engine 5.2.

3 Likes

Yes i agree

r.RayTracing.Culling 0

31 Likes

Thank you, life savior…

Amazing, solved all issues…

Helped!!! Thank You!

worked for me in 5.2 2023 - thanks!!

I can confirm that this is the best solution. I’m on 5.2. i JUST wish there was a proper slider for this

This worked for me in 5.3! Thank you!

Thanks! It worked for me.

Hello every one,

I used this Cmd r.RayTracing.Culling 0 in my 5.2 engine in 1650 4gb graphic it was not working any other solutions.

1 Like

hey, i had this same problem. i had made a new project overall and i forgot to check in my project settings that Unreal was using hardware raytracing for lumen(it wasn’t). Try seeing if this is your problem. ‘raytracing for shadows’ and ‘use hardware raytracing’ especially. then the console command will work fine.

wow I was going crazy trying to find an answer, this worked!
curious is there another way to access this option? thanks

Yes, this worked for me, thanks for the tip! I increased the Dynamic Shadow Distance MovableLight and it worked,

I have finished my problem. However, my UE5‘s camera often lags.

FANTASTIC!!!

I had spent days trying to fix this!!

repeat after Beka:
r.RayTracing.Culling 0

r.RayTracing.Culling 0

r.RayTracing.Culling 0

r.RayTracing.Culling 0

2 Likes

I think I have found the issue. I’m presuming that this is happening to smaller objects that as they move away from the camera the shadow drops out? If you increase the bounds to 5 it should fix the issue.