Skip to main content

Attribute Reference

KIBAMaterialGUI is attribute-first. It does not parse layout commands from display names. Put layout, visibility, validation, and renderer hints in ShaderLab attributes next to the property they affect.

KIBAMaterialGUI Attributes​

Unity Attributes​

KIBAMaterialGUI also reads common Unity material attributes such as [Toggle], [ToggleOff], [Enum], [KeywordEnum], [HDR], and [NoScaleOffset].

See Unity Built-Ins.

General Rules​

  • Attribute names are case-sensitive in ShaderLab.
  • Nested group paths use comma-separated arguments, not slash-separated strings.
  • Invalid KIBAMaterialGUI attribute arguments are reported in the inspector diagnostics panel when possible.
  • Hidden properties keep their material values unchanged.