Skip to content
0:00 / 0:00

#lerp#deltatime#exponentialdecay

Lerp smoothing is broken

Freya Holmér

291K subscribers • 6 videos on Hallway

YouTube
  • Recommended by 1 person: 1 on Lobsters.
  • Presented by Freya Holmér
  • An opinion. It argues one side of a question engineers disagree on.

Intermediate. Assumes working knowledge.

231K views2 years ago1 recommendation

Game developmentGraphics and audioGame programmingMath for programmers

Freya Holmér explains why naive linear interpolation smoothing fails with variable frame rates and how to implement frame-rate independent exponential decay.

a journey through decay and delta time (I had to learn differential equations for this oh boy) Slides: patreon.com/posts/105228270 for my patreon supporters 💞 The slides are much nicer in person!! like, the AV team on site had me lower the refresh rate on my laptop because we couldn't get it to work otherwise, and on top of that, video compression on youtube is now ruining everything as usual ;-; Anyway, first, a big thanks to the organizers at Guadalindie for inviting me and letting me publish the recording! Second - I've been working on a blog post about lerp smoothing in the background, this talk is like a distilled version of half of that yet-to-be-published blog, so keep an eye out for that if you want to dig deeper! There's a whole side of this topic involving approximations to lerp smoothing, but it kind of exploded into a whole thing, which would take up another hour on top of what I already covered, so I couldn't fit it in! Lastly - if you want to stay in touch and in the know whenever I release new videos, blog posts or unity plugins, be sure to sign up to my mailing list! ✉️ Mailing list ❱ acegikmo.substack.com/ Recorded at Guadalindie 2024, May 3rd Timestamps: Start How to lerp smooth The problem of framerate dependence Linear motion What is lerp? The non-linear behavior of lerp smoothing Finding continuity Unraveling recursion Going framerate independent Half-Life Summary tldr (the useful part you want to copy/paste) Q: How important is experimenting with math? Bonus slide: Differential calculus Bonus slide: Spring physics Outro 💖 Patreon ❱ patreon.com/acegikmo 🐦 Twitter ❱ twitter.com/FreyaHolmer 📺 Twitch ❱ twitch.tv/acegikmo 💬 Discord ❱ discord.gg/v5VWuga 🌸 Instagram ❱ instagram.com/freya_holmer

Why it's here

1 person recommends this

What people say. Highly recommended as the definitive guide to fixing frame-rate dependent lerp smoothing in games.

LesleyLaion Lobsters • Recommends

Lerp smoothing is broken