Updated Render To Texture Code