smootherstep
#数学 #GLSL
https://gyazo.com/665835d8d88dd005ed7736c631123f4a
https://www.desmos.com/calculator/cy3mrlfnnz
smoothstep but more smooth
5次Hermite interpolation
2回微分しても連続
$ 6t^5 - 15t^4 + 10t^3
code:cpp
float smootherstep(float a, float b, float t) {
t = saturate((t - a) / (b - a));
return t * t * t * (t * (t * 6.0 - 15.0) + 10.0);
}
Perlin Noiseの生成に用いられている