Map range question

Question Materials and Textures

Jonathan uses a lot of map range. I don't quite understand fully the map range values, from min from max to min and max.

Can I have a simple explanation? I tried to search on the internet but I still don't get it cause the explanation is too technical.

  • Martin Bergwerf replied

    Hi Max,

    Discord Live Q&A starts, but maybe this can help:

    https://cgcookie.com/community/11081-explanation-of-map-range

    1 love
  • maxcady replied

    I just saw the last video of a section and he explain very clearly what is map range with a real time graphical explanation. I kinda understand. I will watch it many times so that I will understand fully.

  • Martin Bergwerf replied

    So, the Clamp clamps the Output of the Map Range Node to the To Min and To Max values.

    From Min is being mapped to To Min and From Max 'becomes' To Max.

    Halfway between From Min and From Max is being mapped to halfway between To Min and To Max.

    It's a linear interpolation. If Clamp is off, there is also a linear extrapolation.

    1 love
  • Omar Domenech replied

    We all struggle with the Map Range Node. That thing sometimes feel it should be illegal. 

    1 love
  • maxcady replied

    It's not hard to understand if it's well explained.