Demo with BenchmarkTHE PROBLEMURP’s default shadow distance is just 50 m, and most outdoor games extend this to around 150 m before cutting shadows off entirely. Beyond that, the world looks flat unless lighting is baked. That's because URP redraws every shadow caster into a single shadow map each frame. Stretch that map over several kilometres and each pixel covers a much larger area, causing shadows to blur, shimmer and disappear, while rendering costs increase.THE SOLUTIONDistant Shadows uses a cached shadow clipmap with four additional shadow cascades, each capturing the scene from the sun and covering a progressively larger area around the camera, extending up to 150 km or more.Unlike URP’s shadows, these snapshots are stored rather than redrawn every frame. They only update when the sun or camera moves far enough, with updates spread across several frames to avoid performance spikes or hitches.The system takes over where URP’s shadows fade out, while URP continues rendering nearby shadows exactly as before.Shadows are applied directly within your materials’ shaders, avoiding the cost of an additional full-screen pass. Tree leaves that use Alpha cutout materials cast proper shadows, and diffuse, specular, metallic and normal-mapped lighting all receive shadows just as they would with URP’s built-in system.EASY SETUP:Create an empty GameObject and add the "Distant Shadows Manager" component.Copy the Distant Shadows Subgraph to your Shaders and hook it in.DONE!!!PerformanceAbout 0.1 ms of GPU time on my own PC, with and 48 MB of memory on the High setting. Check the demo and test on your own PC!COMPATIBILITYIncludes modified copies of the URP/Lit and URP/Terrain Lit shaders, so they receive distant shadows without any graph work.Currently tested on Windows only. Other platforms are planned for the next update.Tested with H-Cached Shadows and compatible. In theory it works with any plugin that changes how URP’s near shadows are drawn, because Distant Shadows doesn’t touch them.GOOD TO KNOWSun shadows only (the main Directional Light). Point lights and spot lights are not affected.Distant shadows are not fully dynamic. Each refresh is spread over 16 frames, so it suits a slowly moving sun and static objects spawned at runtime. It is not meant for distant shadows from vehicles or other fast-moving objects.






