Shader in ShaderLab reference
Properties block reference in ShaderLab
Shader block in ShaderLab referenceA ShaderA program that runs on the GPU. More info
See in Glossary object is a Unity-specific concept; it is a wrapper for shader programs and other information. It lets you define multiple shader programs in the same file, and tell Unity how to use them.
A Shader objectAn instance of the Shader class, a Shader object is container for shader programs and GPU instructions, and information that tells Unity how to use them. Use them with materials to determine the appearance of your scene. More info
See in Glossary has a nested structure; it organizes information into structures called SubShaders and Passes.
Inside the Shader
block, you can:
Properties
block. See ShaderLab: defining material properties.SubShader
block. See ShaderLab: defining a SubShader.Fallback
block. See ShaderLab: assigning a fallback.Shader "<name>"
{
<optional: Material properties>
<One or more SubShader definitions>
<optional: custom editor>
<optional: fallback>
}
Defines a Shader object with a given name. Additional resources
Shader in ShaderLab reference
Properties block reference in ShaderLab
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