Variables will show up in Material Editor. They're defined like this.
Describes how the variable should be represented in the editor.
|VectorText||Text boxes and sliders (this is the default)|
|Slider||A slider type. Usually combined with a Range setting.|
|Color||A Color picker, works on float3 or float4.|
|CheckBox||On or off, generally used on bool|
The Default lets you specify the default value for the variable. If you're filling a
float2, it should be
Default2, if you're filling a
float4 it should be
The UiGroup is used to sort the variable into a group, subgroup and define its order. So for example, given this..
You end up with this
The format is: