nkSpReflectionVectorWS
- Last UpdatedJan 24, 2023
- 1 minute read
The nkSpReflectionVectorWS node is a reflection vector transformed to World Space.
-
This is the camera direction (camera to pixel) reflected by the current pixel normal.
-
The vector is not normalized.
Output
-
Output size: 3
Notes
-
The nkSpReflectionVectorWS node requires that a valid normal is connected to the terminal Shader Node. For example, nkShader.
Code example
This is a code example for nkSpReflectionVectorWS.
<nkSpReflectionVectorWS name="nNodeName"/>
Additional Notes
You can use the nkSpReflectionVectorWS node to access Cube Maps.
