First draft of render to texture