Make Float Sample
This material graph sample demonstrates how to construct vector float values to be used for various parameters of a material.
Each of the Construct nodes (Make Float2, Make Float3, and Make Float4) has a corresponding number of float ports to which any single float output ports can be connected (in the sample we use a Float Slider node of the UI group enabling you to adjust float values via the Parameters panel in the UnigineEditor).
The constructed values are than passed to the input ports of the Deferred PBR Material master material node directly (Float3) or via port adapters (Float2 and Float4). The Opacity value (fully opaque) is specified directly using the port adapter.
Finally, the data output is passed to the Final Material node.
Last update:
2021-04-29
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)