ReferenceMaterial nodesUtility
Combine Vector 4
Four numbers made into one.
ƒCombine Vector 4
X0Result
Y0
Z0
A1
Inputs
| Pin | Type | Starts at | Notes |
|---|---|---|---|
Xx | float | 0 | – |
Yy | float | 0 | – |
Zz | float | 0 | – |
Aw | float | 1 | – |
Outputs
| Pin | Type |
|---|---|
Resultout | vec4 |
The code it becomes
What Studio writes for the graph below: a few lines of the material's shader, worked out for every pixel.
void mainImage(out vec4 fragColor, in vec2 fragCoord){ vec4 n2_out = vec4(0.0, 0.0, 0.0, 1.0); fragColor = vec4((n2_out).xyz, 1.0);}In a graph
ƒCombine Vector 4
X0Result
Y0
Z0
A1
◎Material OutputEnds here
Colour
Alpha1
Texture coordinates into the node, and the node into the material, as Studio draws them.
Related
Notes from the community
Written by creators and checked by the docs' editors. Not part of Motion's official reference.