nkVoTransformNormal
- Last UpdatedSep 10, 2023
- 1 minute read
The nkVoTransformNormal node transforms a normal from one reference coordinate system to another.
-
It uses the inverse transpose matrix.
-
The output normal is normalized.
Code example
This is a code example for nkVoTransformNormal.
<nkVoTransformNormal name="nNodeName" size="3" fromSystem="local" toSystem="world" input="0 1 0"/>
Parameters
fromSystem / toSystem
-
Values: tangent, local, view, world
Limits
Size must be 3.
Notes
The supported transformations are:
-
local à world
-
local à view