Important: The Built-In Render Pipeline is deprecated and will be made obsolete in a future release.
It remains supported, including bug fixes and maintenance, through the full Unity 6.7 LTS lifecycle.
For more information on migration, refer to Migrating from the Built-In Render Pipeline to the Universal Render Pipeline and Render pipeline feature comparison.
Find the directives and input structures you need to write a Surface Shader in the Built-In Render Pipeline.
| Page | Description |
|---|---|
| Surface Shader required directives reference | Reference for the surface shader code and lighting model directives in a Surface Shader. |
| Surface Shader optional directives reference | Reference for transparency, functions, shadows, tessellation, and code generation directives in a Surface Shader. |
| Surface Shader input structure reference | Reference for the input structure of a Surface Shader. |