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

AVEVA™ XR Studio

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.

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