Curve Sample
This material graph sample demonstrates how to use curves to control various parameters when creating a material. The TextureCurve node enables you to adjust albedo color of the material via the Curve Editor in the Parameters panel in the UnigineEditor. The Sample2D node samples data from the TextureCurve output in accordance with the default UV and LOD set directly via port adapters. 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
Was this article helpful?
(or select a word/phrase and press Ctrl+Enter)