@slembcke@mastodon.gamedev.place
Post #2494210
2023-02-21 21:04 UTC
@lisyarus@mastodon.gamedev.place Ah, I wrote an article about this some years ago, but your's is much more detailed: https://www.gamedeveloper.com/programming/improved-lerp-smoothing- I also often use this trick with logarithmic interpolation for zoom state: https://www.gamedeveloper.com/programming/logarithmic-interpolation
Replies (1)
-
@lisyarus@mastodon.gamedev.place 2023-02-21 21:39
@slembcke@mastodon.gamedev.place Yeah, I almost always use it for zoom as well, although sometimes without explicit logarithmic interpolation (the zoom target values still change on a log scale).