Advanced search tips: use spaces to require multiple terms (AND), |
for alternatives (OR), wrap phrases in quotes (="a b"), =term for
exact match, 'term to include, !term to exclude, ^term to match
prefix, !^term to exclude prefix, .ext$ to match suffix, and !.ext$ to
exclude suffix.
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