Box mapping with procedural texture

I’m using this approach.
Search for triplanar mapping, although the one I derived mine from is based on a sixplanar blended boxmapping thing I found on blendswap.