Talos docs

shader-param-invalid

Since 0.6Changed in 0.7

A param or instance header line that cannot be built: a name that is not camelCase or is declared twice, an unknown type, a default of the wrong type, a [min, max] that is backwards or on a bool, a default outside it, more than 256 B of params, or more than 4 instance floats. Also a material params value of the wrong type for the shader's param.

Plain text
Severityerror
Sourcecontract
Offers a fix patchno

Messages

The message opens with the code; <…> stands for a value.

  • <…> "<…>" is not a hex colour; write "#RGB" or "#RRGGBB", or 3 linear numbers
  • <…> <…>, got <…>
  • <…> has <…> layers; an array texture has 1 to <…>
  • <…> has a negative component; colours are linear and 0 or more
  • <…> is a single texture; only an array(...) texture slot takes a list of layers, got <…>
  • <…> must be a texture reference (a string), got <…>

Since / changed

See the version chips above and what changed.