非线性函数图像表示(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)

猜你喜欢

转载自www.cnblogs.com/eco-just/p/11284020.html
今日推荐