Shader ReferenceFunctionsColor FunctionsOn this pageColor FunctionsMethodsrgb(Color col)Returns rgb as a vec3.Returns: Color as vec3Return Type: vec3rgba(Color col)Returns rgb as a vec4.Returns: Color as vec4Return Type: vec4lerp(Color a, Color b, float t)Linear interpolation between two colors by t.Returns: Interpolated colorReturn Type: Color