Bump Mapping w/o Tangent Space

How to achieve bump mapping from 3D procedural shaders where classic tangent space does not work.