How to combine World Aligned Texture with Parallax Occulsion Offset?

Title explains it really. Looking to use POM with World Aligned textures. Any ideas? Surely this has been done before.

This cannot be done without rewriting the parallax function.

But you shouldn’t do that, because trying to combine these is going to be ludicrously expensive and low quality.