Compute local uv coordinates after vertex shader clipping rather than …
before it. Closes #167. Closes #171.