总要有人来改变世界的,为什么不能是你呢

非线性函数图像表示(GLSL)

说明:绘图区域x轴(0->1),y轴(0->1);

1.y = 0.5 + sqrt(x * (1 - x))

2.y = smoothstep(a , b , x)

y = smoothstep(0.9 , 0.3 , x):

y = smoothstep(0.3 , 0.9 , x)

 

posted @ 2019-08-01 17:22  桔子桑  阅读(959)  评论(0编辑  收藏  举报