unity shader blend

Code Example - unity shader blend

                
                        //try lerp

float lerp(float a, float b, float w) {
  return a + w*(b-a);
}