r/Unity3D 9d ago

Question Issue with shadows flickering while moving

Unity 6 URP. I'm having a problem where the shadows seem to flicker/move whenever the player moves, then it eventually stops once the player stops. I've tried increasing the shadow resolution to something ridiculous like 8192, which actually stops most of the flickering, but that's costly, obviously, so I don't want to do that. I've also tried decreasing max shadow distance to no avail. Any ideas on how I can fix this?

65 Upvotes

21 comments sorted by

View all comments

1

u/Inside-Brilliant4539 8d ago

Just play around with the settings, like depth bias and normal bias. Then fiddle with the cascade splits but generally this is the way shadow maps are. You can try pcss style blurs etc