Basic support for rendering to texture