Constants
Functions
returns the (0-1, 0-1) position within the given viewport for the current buffer coords .
buffer coords can be obtained from @builtin(position).xy.
the view uniform struct contains the current camera viewport in view.viewport.
topleft = 0,0
Convert direction vector to cube face UV