started work on rendering to textures