Version: Unity 6.7 Alpha (6000.7)
Language : English
Surface Shader input structure reference for the Built-In Render Pipeline
Import a file from the shader library in the Built-In Render Pipeline

Shader methods in the Built-In Render Pipeline

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.

Resources for importing prebuilt shader files and using built-in shader functions in the Built-In Render Pipeline.

Page Description
Import a file from the shader library Import files that contain helper functions and macros, such as UnityCG.cginc and HLSLSupport.cginc.
Use built-in HLSL structures in the Built-In Render Pipeline Use prebuilt HLSL vertex input structures from UnityCG.cginc to simplify vertex shader declarations.
Lighting variables in the Built-In Render Pipeline reference Pass lighting parameters to shaders in different ways depending on the rendering path and LightMode tag.
ShaderLab pass tags in the Built-In Render Pipeline reference Find the LightMode tag values that determine which pass the Built-In Render Pipeline executes.
Shader methods in the Built-In Render Pipeline reference Use built-in functions to transform positions and other values.

Additional resources

Surface Shader input structure reference for the Built-In Render Pipeline
Import a file from the shader library in the Built-In Render Pipeline