注意! 这个版本的文档是过时的,因为它描述了一个较老的SDK版本!请切换到最新SDK版本的文档。
Texture 2D Sample
This material graph sample demonstrates creation of a simple material with the specified 2D texture. The Texture node enables you to select a texture asset via the Parameters panel in the UnigineEditor. The Sample2D node samples data from the texture in accordance with the default UV set directly via the port adapter. Albedo RGB data for the Deferred PBR Material master material node is taken from the output of the Sample2D node via the xyz port adapter (selecting the first three components of the RGBA vector), 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-09
Help improve this article
(or select a word/phrase and press Ctrl+Enter)