Render to texture

Resolves #14.