Warning! This version of documentation is OUTDATED, as it describes an older SDK version! Please switch to the documentation for the latest SDK version.
Tangent-Space Normal Map Sample
This material graph sample demonstrates how to use tangent-space normal maps.
The Sample Texture node samples tangent-space normals taken from the normal map Texture 2D parameter node (enabling you to select a texture asset via the Parameters panel in UnigineEditor) in accordance with the default UV.
The Normal Space for the material is set to Tangent, therefore it is simply enough to pass the output to the material's Normal input.
The Albedo color is defined by the value from the Color node. The Roughness value is provided directly via a Float node.
The information on this page is valid for UNIGINE 2.19 SDK.
Last update:
2024-08-16
Help improve this article
(or select a word/phrase and press Ctrl+Enter)