Added feature to render text as well instead of just models