I have two Empty Objects. They are both Scale 1, but have different Sizes set in properties:
They are each used as Object Texture Coordinates for a Spherical Gradient Texture. The smaller one is scaled down via a Mapping Node. The big one is in Blue, the small in Black:
I want to somehow get a gradient between the edges of these spheres. Here's a mockup of what it should look like (made by color ramping the big sphere):
Note that its hit full White by the inner circle. Here's another ramp from black to white to black to make it more clear:
The idea is that whatever I scale the Objects by, I'd always have a linear gradient from the edge of the outer sphere to the edge of the inner sphere.
Is this possible? I can think of some ways to do it with drivers (and a lot of setup), but I'm looking for a method using only nodes.