Going further
If you’re curious about URP shader optimization (in particular, using shader compilation tricks, shader branching, and shader variants), here are a few interesting resources to check out or continue your journey from:
- Official documentation on shader compilation, Unity: https://docs.unity3d.com/Manual/shader-compilation.html
- Official documentation on shader branching, Unity: https://docs.unity3d.com/Manual/shader-branching.html
- Official documentation on shader variants, Unity: https://docs.unity3d.com/Manual/shader-variants.html
- Optimizing shader runtime performance (official documentation), Unity: https://docs.unity3d.com/Manual/SL-ShaderPerformance.html
- 7 Ways to Optimize your Unity Project with URP, Unity (2020): https://www.youtube.com/watch?v=NFBr21V0zvU