Documentation

Unity Engine

Unity Engine

Pass in ShaderLab reference

Explore the Pass block in ShaderLab to create a shader pass, and add a name, tags, and shader code blocks.
Read time 1 minuteLast updated a month ago

Explore the
Pass
block in ShaderLab to create a shader pass, and add a name, tags, and shader code blocks.

Page

Description

Pass block referenceReference for the
Pass
block in ShaderLab.
Name directive referenceReference for the
Name
directive in ShaderLab.
Pass tags referenceReference for the
Tags
block in the
Pass
block in ShaderLab.
Shader code blocks referenceReference for the
HLSLPROGRAM
,
HLSLINCLUDE
,
CGPROGRAM
, and
CGINCLUDE
blocks in ShaderLab.