TODO render to texture2d instead of textureRect