Skip to main content

KIBAMaterialGUI

KIBAMaterialGUI is a Unity ShaderGUI package for shader authors who want a practical material inspector without writing a full custom editor for every shader.

You describe the inspector with ShaderLab attributes next to each property. KIBAMaterialGUI reads those attributes and builds a searchable, grouped, resettable, localized material UI.

What You Get​

  • Grouped property sections for large shaders.
  • Search across property names, display labels, group paths, and attributes.
  • Filters for changed values, warnings, textures, numbers, and colors.
  • Conditional visibility with [ShowIf].
  • Built-in renderers for toggles, enums, segmented enums, vectors, min/max sliders, gradients, textures, colors, and ranges.
  • Presets and localization files that live beside your shader.
  • Unity undo, multi-selection, animation preview, and animation recording support where Unity exposes it.

Minimal Shader​

Shader "KIBA_/Examples/Simple"
{
Properties
{
[Group(Main)] _MainTex ("Main Texture", 2D) = "white" {}
[Group(Main)] _Tint ("Tint", Color) = (1,1,1,1)
[Group(Advanced)][Toggle] _UseRim ("Use Rim", Float) = 0
[Group(Advanced)][ShowIf(_UseRim, 1)] _RimColor ("Rim Color", Color) = (0.4,0.7,1,1)
}

CustomEditor "KIBA_.KIBAMaterialGUI.Editor.MaterialGUI"

SubShader
{
Pass {}
}
}

Where To Go Next​