Version: 2021.1
Writing shaders overview
ShaderLab: defining a Shader object

ShaderLab

ShaderLab is a declarative language that you use in shaderA program that runs on the GPU. More info
See in Glossary
source files. It uses a nested-braces syntax to describe a Shader object.

There are many things that you can define in ShaderLabUnity’s language for defining the structure of Shader objects. More info
See in Glossary
, but the most common are:

Writing shaders overview
ShaderLab: defining a Shader object