Is it possible through shader nodes? Must be a mask that can be utilized in shader, so no Freestyle or inverted hull, also no fresnel/dot product because constant width is needed
As far as I know, you can control Freestyle’s width, if you need to apply it only to contours.
Awesome! Can Freestyle components be read by shader nodes somehow?
As far as I know - nope, but you can edit its color, strokes, texture etc. exactly via Freestyle Line Style options tab
That’s still something
You can also add some modifiers to your color. Maybe it’ll help you a bit more with what you want to achieve
P.S. You’ll be able to add these modifiers to the other options as well.
It’s in the second video.
And Free Addon for the outline
(The function of video number 1 is made into Addon.)
why not use grease pencil line art? It’s realtime with tons of flexibility, you can colour and texture the silhouettes, use modifiers, effects or render it and use as animated mask in shader editor etc…
Inverted hulls is how I usually make the outlines. Problem is, I’d like to have this outline available in the shader, to use it as a mask for some operation like cutting out an alpha. Some parallax occlusion algorithms can alter sihlouette of the model, for example. I hope it makes sense
Thanks, I’ll look into advantages of GP outline