smoothstep

smoothstep (edge0,edge1,x)
如果x <= edge0,返回0.0 ;如果x >= edge1 返回1.0;如果edge0 < x < edge1,则执行0~1之间的平滑埃尔米特差值。如果edge0 >= edge1,结果是未定义的

 

不一定对。我看的也晕

posted @ 2022-09-22 16:55  流星曳尾  阅读(29)  评论(0编辑  收藏  举报