Portals 示例
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).两种颜色(A 和 B)由 Lerp 节点混合,该节点由 Slider 参数节点提供的系数控制(使您能够通过 UnigineEditor 中的 Parameters 面板调整浮点值)。
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.颜色和控制滑块都通过门户(Color A、Color B 和 Lerp Slider)连接到 Lerp 节点的相应端口。结果连接到 Material 节点的 Albedo 输入。
最新更新:
2024-12-13
Help improve this article
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)