WorldRayDirection
The world-space direction for the current ray.
Syntax
float3 WorldRayDirection();
Remarks
This function can be called from the following raytracing shader types:
See also
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
The world-space direction for the current ray.
float3 WorldRayDirection();
This function can be called from the following raytracing shader types: