Catlike Coding

Custom SRP Project

Working on your own SRP in Unity.

This page covers the Custom SRP Unity tutorial project, which is a continuation of the Custom SRP tutorial series. The original series was created for Unity 2019, later updated to Unity 2022, with a predecessor for Unity 2018.

The final tutorial of that series is the starting point of this project. From that point the project gets updated with regular releases, each of which will have an accompanying tutorial guiding you through all changes. Like proper releases, they are fixed and will never be altered, except for fixing typos. Besides demonstrating Unity's Scriptable Render Pipeline this also demonstrates how to deal with project releases and refactoring code old.

The project repository contains all releases. The master branch has the bleeding-edge code of yet unreleased versions already in it, if available.

The first big change was the switch to Unity's Render Graph API. Then tiled Forward+ rendering was added. After that we ungraded to Unity 6 and newer versions. We're currently in the process of converting the entire RP to use the latest Render Graph API features.

You can work through the original tutorial series or start at a release version of your choice and work from there, browsing older tutorials for any explanations that you need. The released tutorials are listed from highest to lowest version.

  1. 7.2 Separate Shadow Passes
  2. 7.1 Splitting Shadow Code
  3. 7.0 Unity 6.5
  4. 6.2 3D Color LUT
  5. 6.1 Showing Color LUT
  6. 6.0 Unity 6.3
  7. 5.1 Raster Render Passes
  8. 5.0 Unsafe Passes
  9. 4.0 Unity 6
  10. 3.2 Simplification
  11. 3.1 Forward+ Settings
  12. 3.0 Simple Tiled Forward+
  13. 2.5 Structured Buffers
  14. 2.4 Post FX Passes
  15. 2.3 Shadow Textures
  16. 2.2 Camera Textures
  17. 2.1 Renderer Lists
  18. 2.0 Render Graph
  19. 1.0 Modernization