LinkedIn
X (Twitter)
Facebook
A workaround could be to use an ambient occlusion shader with min and max distances and drive a ramp with its output. This does not give you control for the in/out parts though.
never-displayed