Expressions

You can set expressions on shader parameters to procedurally set their values. Expressions are available for the following types of parameters:

  • Bool, Integer and Float types
  • Vectors of integer and float types

The expression text field is toggled using the “magic wand” icon () to the right of supported parameters. Once clicked, a green expression text field will appear, where the expression can be entered.

Shader parameters with a global variable in the expression
Shader parameters with a global variable in the expression.

Expressions are implemented using SeExpr, which enable flexible artistic control, when required. The language comes with some built-in functions and, in addition, you can use the global values defined in the Globals panel (see above).