Render to texture.

I intended to do environment mapping, still need to fix texture
projection.