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:
09.04.2021
Помогите сделать статью лучше
Была ли эта статья полезной?
(или выберите слово/фразу и нажмите Ctrl+Enter