GridVids
Sign in with YouTube

Falloff Functions

runevision Nov 15, 2016 17:33
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Don't Miss
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Mark watched
Create an account to hide videos, mark them watched, or save them to Don't Miss.
Hide
Open in popup Open on YouTube
Share video

Share video

Copy the GridVids link or iframe code.

Video link
Iframe code
Iframe content

If you use math to make things look or feel nice - movements, transitions, or various falloff effects - then this tip might be for you. After making this video I found out that Christophe Schlick’s approximation of Ken Perlin's bias function (as seen in Game Programming Gems 2) is similar to these, but more elegant. It goes: f(x) = x / ((1 / b - 2) * (1 - x) + 1) In that version the b value is in the range 0...1 where 0.5 is linear. Additionally, the b value actually corresponds to the output value you get for an input value of 0.5! This is super "Schlick"!
Science & Technology