// I originally used this to create a washed out look but it can be used for other types of blending multiple colours vec4 wash(vec4 input_colour, vec4 wash_colour) { vec4 wash2 = wash_colour * wash_colour; return vec4(input_colour.r * wash2.r, input_colour.g * wash2.g, input_colour.b * wash2.b, 1.0); } //R.I.P Wash, a leaf on the wind.