How to render a 3d object in a texture
This isn't perfect as the shading is a bit off. But maybe you can improve on this:

(If you add a vector mapping node to the object texture coordinates you can scale the inner sphere.)


All that is necessary is the dot product into the bump node, but this causes the auto smooth shading to go away. So the color ramp is trying to add smoothing back, but not quite perfectly.