nkVeReflectionVectorWS
- Last UpdatedJan 24, 2023
- 1 minute read
The nkVeReflectionVectorWS 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 nkVeReflectionVectorWS node requires that a valid normal is connected to the terminal Shader node; for example, nkShader.
-
The connected normal is intended to be in Eye Space.
Code example
This is a code example for nkVeReflectionVectorWS.
<nkVeReflectionVectorWS name="nNodeName"/>
Additional Notes
You can use the nkVeReflectionVectorWS node to access Cube Maps.
