Curves & interpolation · 8 / 10
Smoothstep / Smootherstep
両端で滑らかにつながるフェードを作る。
Compare in motion
Interactive demo
画面のフェード
AReference
一定の速さで変化する
BSmoothstep / Smootherstep100%
開始と終了が急に切り替わらない
Scrub to pause and inspect. At 0%, B matches A; at 100%, B shows the effect. The scene repeats every 8 seconds.
Look for: 両端で変化が緩む → 自然に表示される。
A small visual example of a game use case. Games combine these techniques with assets and other effects.
Read the storyboard
例: 画面のフェード
1. Start
透明な画面
2. Change
両端で変化が緩む
3. Result
自然に表示される
How it works
1. Input
0〜1 の進行率
2. Process
端の傾きをゼロにする
3. Result
滑らかな S 字遷移
Further reading
The Book of Shaders — Shaping Functions ↗A general reference for this subcategory.