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