I'd like to make a material that feathers from one color at the edge of the silhouette of a mesh, to another in the center, so it looks like the inner glow effect on photoshop. I tried using a fresnel node for this, but it didnt give the results I wanted at hard edges and on planar meshes. Can anyone help?
something sort of like this
Replies
Alternatively, you could try using a DotProduct node at varying strengths, however, since DotProduct is a component of a Fresnel function, I'm reasonably certain that it would behave in a similar fashion, computing the entire surface, rather than finding the edges and working inward.
Is this a temporary highlight when an object is looked at? Is this an intrinsic part of the look you're going for?
One way or another what you're looking at is going to be a screenspace effect. It *might* be doable in the object shader, but will likely require a postprocess shader since the object silhouette is related to the screen.