Portals Sample
This material graph sample demonstrates how to use portals in your materials.
Two colors (A and B) are blended by the Lerp node controlled by the coefficient provided by the Slider parameter node (enabling you to adjust float values via the Parameters panel in UnigineEditor).
Both colors and the control slider are connected to the corresponding ports of the Lerp node via portals (Color A, Color B, and Lerp Slider). The result is connected to the Albedo input of the Material node.
Last update:
2023-06-23
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)