Can you use the radius/scale of an instanced static mesh instance in the material editor?

I’ve been struggling with this also for a while - I got pretty close with this:

but I should note it’s not perfect…