Hi there,
is there a way to use a custom curve as interpolation between two values within the material editor?
The only thing i found was lerp, but i need a curve like this:
I am not really fluent at math, so some help would be really appreciated
Hi there,
is there a way to use a custom curve as interpolation between two values within the material editor?
The only thing i found was lerp, but i need a curve like this:
I am not really fluent at math, so some help would be really appreciated
Kind of old question, but in case anyone runs into this:
The following function yields Quad interpolation: clamp(ttt*(t*(t*6-15)+10),0,1) - given a value of t between 0 and 1
The curve looks like this:
https://i.imgur.com/b6qQG4n.png
And the Material function looks like this:
https://i.imgur.com/HX4pxK8.png
EDIT My Function has a mistake in the graph - the argument at the bottom most left should be a 6 not a 5.
Yes, you are absolutely right. In addition to your answer i would suggest to use a custom node. You can just paste the interpolation function needed (Quad, Exponential etc.) in a custom node and use the parameters of the function as inputs.