Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question "Gradient" of multible lerps

Discussion in 'Shader Graph' started by machinebouwclub, May 19, 2022.

  1. machinebouwclub

    machinebouwclub

    Joined:
    Apr 14, 2021
    Posts:
    9
    Hi!
    I am making a subgraph where a sort of gradient is created by lerping between colors. I want te lerp between the values multible times. 8 to be exact. But when i try. It doensn't lerp corrected. I have set the base color to colors equal distance from each other so you can see whats happening.



    Something goes rong at the secon lerp row. I dont know how to fix it.
     
  2. machinebouwclub

    machinebouwclub

    Joined:
    Apr 14, 2021
    Posts:
    9