glsl smoothstep 属于埃尔米特(Hermite)插值

函数定义:

参考:https://en.wikipedia.org/wiki/Smoothste 
glsl smoothstep 属于埃尔米特(Hermite)插值

glsl smoothstep 属于埃尔米特(Hermite)插值

相关函数图形如下:

glsl smoothstep 属于埃尔米特(Hermite)插值 
计算机图形中经常用到正如上图所示的:两个smooth()函数相减。

相关C++代码:

glsl smoothstep 属于埃尔米特(Hermite)插值