I wanted a gradient effect along the edge of an object procedurally made, so that I could add two different colors, gradient used as a factor.

I don't know how the original was made, but I think I am going to use the scalable vector graph to make the maps. The topology may be in ngon. lastly I would like to render in EEVEE.

enter image description here

  • 3
    $\begingroup$ We need more details, how the generated object looks in regards to topology. In general, tricky subject; maybe this helps: Cycles nodes: is it possible to get distance to nearest edge? $\endgroup$ Sep 21 '21 at 8:28
  • 2
    $\begingroup$ If you're looking for this exact effect, you could fake it using Ambient occlusion and using different heights for your objects. Do you want to use eevee or cycles ? $\endgroup$
    – Gorgious
    Sep 21 '21 at 8:47
  • 1
    $\begingroup$ The link given by @MarkusvonBroady creates what you want. The only thing you have to know is that to get the desired effect, the objects that make the country cannot be flat planes, you have to extrude them so that they have a thickness. Otherwise there is no edge for the Bevel node. $\endgroup$ Sep 21 '21 at 9:50

Browse other questions tagged or ask your own question.