Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

Feature Request Different shadow fading distances for cached shadows

Discussion in 'High Definition Render Pipeline' started by bonickhausen, Apr 28, 2023.

  1. bonickhausen


    Jan 20, 2014

    In my game, I'm using HDRP's realtime cached shadows a lot. Because they're used on a proc-generated environment, I need those shadows to prevent light from leaking through walls. The geometry never moves/changes once it's generated.

    I need their fading distance to be different from non-cached realtime shadows. I'm okay with, say, NPC shadows visibly fading in as you move in closer. However, it's really jarring when I can see cached shadows fading out at the end of a long corridor.

    Is this possible at all? Different fading distances for cached shadows?