Screen-space projector (source code)

= Screen-space projector
{title2=$P^a{}_b$}

Given null vectors $k$ and $n$ with $k\mathbin\cdot n=-1$, the screen-space projector is
$$
P^a{}_b=\delta^a_b+k^an_b+n^ak_b.
$$
It annihilates $k$ and $n$ and projects onto the two-dimensional spacelike space transverse to them.