Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ XR Studio

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.

In This Topic
Related Links
TitleResults for “How to create a CRG?”Also Available in