nkTxNormalMap
- Last UpdatedJan 24, 2023
- 1 minute read
The nkTxNormalMap node is a Normal Map sampler.
-
The material specifies the texture used to render the object.
-
The material requires a parameter with the same name as paramName.
-
The Image RGB [0..1] values are expanded to [-1..+1]. The Alpha value is unchanged.
Code example
This is a code example for nkTxNormalMap.
<nkTxNormalMap name="nNodeName" paramName="MaterialParameterName" uv="[connection]" filter="bilinear" addressMode="wrap"/>
Parameters
uv
-
Size: 2
filter
-
Values: point, bilinear, trilinear
addressMode
-
Values: wrap, clamp, mirror
Output
Output size: 4