SubShader in ShaderLab reference
LOD directive in ShaderLab reference
SubShader block in ShaderLab referenceTo define a SubShader in ShaderLabUnityâs language for defining the structure of Shader objects. More info
See in Glossary, you use a SubShader
block. This page contains information on using SubShader blocks.
Inside the SubShader
block, you can:
LOD
block. See assigning a LOD value to a SubShader.Tags
block. See ShaderLab: assigning tags to a SubShader.Pass
block. See ShaderLab: defining a Pass.PackageRequirements
block. This makes Unity only run the SubShader if the required packages are installed. See ShaderLab: specifying package requirements.SubShader
{
<optional: LOD>
<optional: tags>
<optional: commands>
<One or more Pass definitions>
}
Defines a SubShader.
You can define as many Passes as you like within a SubShader.
Additional resourcesSubShader in ShaderLab reference
LOD directive in ShaderLab reference
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4