Toggle and check shader keywords in a script
Default shader keywords

Built-in keywords

Resources for the default shaderA program that runs on the GPU. More info
See in Glossary
keywords in Unity, and creating sets of built-in keywords.

Page Description
Default shader keywords Learn about the default predefined sets of shader keywords Unity uses to generate shader variants that enable common functionality.
Add built-in keyword sets Use Unity shader directive shortcuts to create sets of shader keywords and variants for lighting features.

Did you find this page useful? Please give it a rating:

  • Toggle and check shader keywords in a script
    Default shader keywords