Basically, I have a simple sphere and I want the the most inner part of the sphere, so the center of it, to be once color and to gradually transition to another color and it approaches the most outer part of the sphere.

Can you achieve this effect without having to rely on placing another sphere inside?


Based on Diogo Valadares's comment, you can indeed use a fresnel node + color ramp to achieve this effect. Below, I attach a fresnel node to a color ramp with a mapping node in between, giving me a transition between red and blue from the inside to the outside.

Result with fresnel node

Depending on what kind of transition you want, the fresnel node may not be perfect (you can see that on the very edge, the transition is a bit too sharp), but by playing around with the constants in the mapping node you can get a sharper or smoother transition.

  • $\begingroup$ Thank you! I completely forgot I could use Fresnel in this way! $\endgroup$ – Pherion Apr 22 '19 at 17:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.