Is there some way to select one output from a number of inputs with a Fac, like a Mix shader, but instead of a 0-1 slider, use an integer index (for more than two inputs)?
Example (in Quartz Composer):
If possible, I would like to use an arbitrary number of inputs (e.g. with Python somehow), but I don't know if that is possible.