I just noticed that NBlood finally has merged this PR that had been collecting dust for several months.
So I also went ahead and merged the commits I had prepared 4 months ago.
One of the things this enables is slope sprites which currently are not supported by the renderer, of course.
Nevertheless, merging this now will allow running some tests with this code before the next release to find any potential regressions early.