Gradient on sphere, same appearance from any camera angle

I got stuck with something that I thought it would be very easy to accomplish. I am trying to create sphere like this.

Screen Shot 2021-10-09 at 6.03.42 PM

Basically center of the sphere should be one color and outer skin of the sphere another color.

I have tried with spherical gradient and managed to get similar result, but gradient was fixed to the actual view or camera. And I want to animate camera around this object and gradient should look the same from any camera angle.

There is maybe much better and easier way to achieve this but I come up only with gradient…

Had anyone similar project or can anyone help me with some ideas how to solve this?

I think the best way is to use the layer weight facing for the gradient coordinates.
This way the gradient will always face the camera/view no matter how you animate it.
You could also do it with camera coordinates but if you use that you would not be able to move the sphere without changing the location of the mapping.

Thank you @DNorman that is exactly what I need :slightly_smiling_face: