Solving for
is straightforward. Plugging in
the linear form of
into
Equation 1.3, we get the following.
Because Equation 1.6 resolves to such a simple expression, we can compute it directly in programmable fragment units (of DirectX 9 class graphics hardware [61]) with few instructions.