ProtoFlux:Local Screen Point To Direction

From Resonite Wiki
Revision as of 17:25, 3 July 2024 by AmasterAmaster (talk | contribs) (Added a bit more detail to screen info.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Local Screen Point To Direction
NormalizedScreenPoint
*
Conversion

The Local Screen Point To Direction node takes in a normalized screen space (0 to 1 along the user's screen in the X and Y position), and converts it to a direction in world space. This node just takes where you are looking and points it in the direction outward from your camera/screen.

Inputs

NormalizedScreenPoint (float2)

The screen point from the user's perspective.

Outputs

* (float3)

Returns the direction from this point.