How to use variables for shadows?

I also want to see this. Following, in case someone can come up with a workaround in the short term.