Eevee - Inner glow effect

I need help making a mask for a mix shader based on an “inner glow”

To explain better I’ve simulate what I need with krita with an “inner glow” effect.
I have made many attempts with different techniques. The most similar is a system based on fresnel, but it don’t works, as it depends on light and complex geometry. What I need is something that works exclusively on the silhouette. I guess I’ve to think about something related to the camera, but I can’t get satisfactory results.
Any idea?
thank you

1 Like

I can’t think of a way to achieve this easily with materials - this may be something you need to do in compositor.

1 Like

:pensive: Thank you but I need this effect with materials 'cause I need to use it as a mask between 2 shaders.