기술 자료

Unity Engine


User Manual

Script Reference

Unity Engine


Shader methods in the Built-In Render Pipeline

Resources for importing prebuilt shader files and using built-in shader functions in the Built-In Render Pipeline.
읽는 시간 1분최근 업데이트: 한 달 전

중요
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.
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 libraryImport files that contain helper functions and macros, such as
UnityCG.cginc
and
HLSLSupport.cginc
.
Use built-in HLSL structures in the Built-In Render PipelineUse prebuilt HLSL vertex input structures from
UnityCG.cginc
to simplify vertex shader declarations.
Lighting variables in the Built-In Render Pipeline referencePass lighting parameters to shaders in different ways depending on the rendering path and
LightMode
tag.
ShaderLab pass tags in the Built-In Render Pipeline referenceFind the
LightMode
tag values that determine which pass the Built-In Render Pipeline executes.
Shader methods in the Built-In Render Pipeline referenceUse built-in functions to transform positions and other values.

Additional resources