Tag: lerp

  • Colour Curve Correction

    Colour Curve Correction

    This is the third and final part of the tutorial dedicated to one of the most used Mathematical tools in Game Development: linear interpolation! In this part, we will explore how to use it to correct colour curves. You can find a link to download the C# scripts and the Unity package used at the…

  • Piecewise Interpolation

    Piecewise Interpolation

    This is the second part of the tutorial dedicated to one of the most used Mathematical tools in Game Development: linear interpolation! In this part, we will explore how to extend the concept of linear interpolation to non-linear mappings. The final part will explore how to use them to correct colour curves. You can find…

  • Linear Interpolation

    Linear Interpolation

    This tutorial will explore one of the most used Mathematical tools in Game Development: linear interpolation! This first post will focus on its Mathematical definition and implementation. The following parts of this series will explore how to extend linear interpolation to non-linear mappings, and how to use them to correct colour curves. You can find…

  • The Secrets of Colour Interpolation

    The Secrets of Colour Interpolation

    This post discusses about the tricky problem of colour interpolation, and explores possible solutions. Many software and engines offer read-to-use functions to interpolate colours. In Unity, for instance, Color.Lerp is available and does its job pretty nicely. Use the interactive swatch below to see how Color.Lerp works. There’s nothing wrong in using these functions, as long as you know…

">