I'm trying to add some math to a shader network that I'm building. I want to take a numeric output from a node and pipe it through the equation f(x) = -2x^3 + 3x^2 (this is sometimes called the smooth step equation). While I could do this by dragging five Math nodes into the graph, this seems like a messy way to solve this.
Is there an easier way to add an equation like this to a graph? Does Blender already have a smooth step node I could just use?