Properties Node - digicrafts/2DEffectsShaderEditorNodes GitHub Wiki
Float Node
Port | Type | Description |
---|---|---|
ouput | float | Output of the value |
Property | Description |
---|---|
Default Value | Set the default value of the property |
Property Name | The variable name use in shader. |
Property Label | The label appear in shader inspector. |
Property Type | Type of property. Property: dynamic property can set by shader inspector. Instance variable: hardcode value into the code. Constant: define as constant. |
Precision | Precision of the property.Support float,half and fixed. |
Max/Min | Max/Min value of the value. Set this if you want to have silder for setting the value. |
Int Node
Port | Type | Description |
---|---|---|
ouput | int | Output of the value |
Property | Description |
---|---|
Default Value | Set the default value of the property |
Property Name | The variable name use in shader. |
Property Label | The label appear in shader inspector. |
Property Type | Type of property. Property: dynamic property can set by shader inspector. Instance variable: hardcode value into the code. Constant: define as constant. |
Precision | Precision of the property.Support float,half and fixed. |
Bool Node
Port | Type | Description |
---|---|---|
ouput | bool | Output of the value |
Property | Description |
---|---|
Default Value | Set the default value of the property |
Property Name | The variable name use in shader. |
Property Label | The label appear in shader inspector. |
Property Type | Type of property. Property: dynamic property can set by shader inspector. Instance variable: hardcode value into the code. Constant: define as constant. |
Color Node
Port | Type | Description |
---|---|---|
RGBA ouput | float4 | Output of the color value |
R ouput | float | Output of the value of R channel |
G ouput | float | Output of the value of G channel |
B ouput | float | Output of the value of B channel |
A ouput | float | Output of the value of A channel |
Property | Description |
---|---|
Default Value | Set the default color value of the property |
Property Name | The variable name use in shader. |
Property Label | The label appear in shader inspector. |
Property Type | Type of property. Property: dynamic property can set by shader inspector. Instance variable: hardcode value into the code. Constant: define as constant. |
Precision | Precision of the property.Support float,half and fixed. |
Vector2 Node
Port | Type | Description |
---|---|---|
ouput | float2 | Output of the value |
Property | Description |
---|---|
Default Value | Set the default value of the property |
Property Name | The variable name use in shader. |
Property Label | The label appear in shader inspector. |
Property Type | Type of property. Property: dynamic property can set by shader inspector. Instance variable: hardcode value into the code. Constant: define as constant. |
Precision | Precision of the property.Support float,half and fixed. |
Vector2 Node
Port | Type | Description |
---|---|---|
ouput | float3 | Output of the value |
Property | Description |
---|---|
Default Value | Set the default value of the property |
Property Name | The variable name use in shader. |
Property Label | The label appear in shader inspector. |
Property Type | Type of property. Property: dynamic property can set by shader inspector. Instance variable: hardcode value into the code. Constant: define as constant. |
Precision | Precision of the property.Support float,half and fixed. |
Vector4 Node
Port | Type | Description |
---|---|---|
ouput | float4 | Output of the value |
Property | Description |
---|---|
Default Value | Set the default value of the property |
Property Name | The variable name use in shader. |
Property Label | The label appear in shader inspector. |
Property Type | Type of property. Property: dynamic property can set by shader inspector. Instance variable: hardcode value into the code. Constant: define as constant. |
Precision | Precision of the property.Support float,half and fixed. |
Texture2D Node
Port | Type | Description |
---|---|---|
Tex output | Texture2D | Output the texture name |
Property | Description |
---|---|
Default Value | Set the default value of the property |
Property Name | The variable name use in shader. |
Property Label | The label appear in shader inspector. |
Property Type | Type of property. Property: dynamic property can set by shader inspector. Instance variable: hardcode value into the code. Constant: define as constant. |
Precision | Precision of the property.Support float,half and fixed. |