Bump Mapping Without Tangent Space

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