Shadow Maps Caching
The following is intended for informational purposes only, and may not be incorporated into any contract. No purchasing decisions should be made based on the following materials. Unity is not committing to deliver any functionality, features or code. The development, timing and release of all products, functionality and features are at the sole discretion of Unity, and are subject to change.
If you have accepted to use functional cookies and logged in using your Unity ID at the top right of the page, then sharing feedback is as simple as clicking a card below, selecting a topic’s importance, adding your point of view, and submitting. If you prefer not to accept functional cookies or log in, you will be prompted to enter an email address and validate it, so we know how to reach out when the topic evolves. For more information read the Feedback and privacy terms.
Summary
Shadow Maps Caching provides performance improvement by allowing the Universal Render Pipeline (URP) to update the shadow maps for Lights only when necessary, therefore reducing the number of shadow casters to be rendered for each frame.
Intended Outcome/Use Case
Not every Light and Renderer is constantly updated in a Scene; therefore, rendering shadow maps for static Lights and Renderers in every frame is unnecessary and expensive.
With shadow maps caching, similar to HDRP's Shadow Update Mode and Mixed Cached Shadow Maps workflows, you can granularly configure the calculation method URP uses to update individual Lights shadow maps. This would give you more control to optimize your rendering performance based on your Scene setup and content requirements.