@@ -38,6 +38,7 @@ the new parameter. On this line:
38
38
* the first text field is the name of the parameter, that will be used in the shader code
39
39
* the second text field is an optional label that will be displayed in the user interface.
40
40
There are a few tricks with this label that can help tweaking the UI.
41
+ * the yellow document button can be used to add a tooltip to the parameter.
41
42
* the option button can be used to select a type for the parameter. The available types
42
43
are **float **, **size **, **enum **, **boolean **, **color ** and **gradient **
43
44
* on the right of the type selector, controls can be used to define a default value and
@@ -58,7 +59,9 @@ Inputs can be added and removed, have a name and a label (but no label trick) ju
58
59
like parameters. they also have a type that can be **Greyscale **, **Color ** or
59
60
**RGBA **.
60
61
Please note that Material Maker will convert automatically if you connect an input
61
- to an output of a different type.
62
+ to an output of a different but compatible type.
63
+
64
+ The yellow document button can be used to define a name and add a tooltip to the input.
62
65
63
66
On the right of the input type, you must define a default value that will be used
64
67
if the input is not connected. The default value is a GLSL expression that must
@@ -70,7 +73,7 @@ Blend filter and has a vertical and an horizontal gradient as default inputs).
70
73
71
74
The "Function" checkbox changes the way the code is generated for this input.
72
75
When set to true, the input is generated as a function and can be used in the *Instance
73
- functions * section. If the parameter is false, the input code is inlined. is is not advised
76
+ functions * section. If the parameter is false, the input code is inlined. It is not advised
74
77
to set this parameter to true when not required, because generating functions can have
75
78
an impact on performance.
76
79
@@ -89,6 +92,8 @@ And generally, complex nodes mean complex output expressions. You may thus want
89
92
write simple expressions in the **Outputs ** tab and keep complex code in the 3
90
93
remaining tabs.
91
94
95
+ The yellow document button can be used to define a name and add a tooltip to the input.
96
+
92
97
.. image :: images/node_editor_outputs.png
93
98
:align: center
94
99
0 commit comments