VisualShaderNodeColorFunc

    • FUNC_GRAYSCALE = 0 —- Converts the color to grayscale using the following formula:
    • FUNC_SEPIA = 1 —- Applies sepia tone effect using the following formula:
    1. vec3 c = input;
    2. float g = (c.r * 0.349) + (c.g * 0.686) + (c.b * 0.168);
    3. return vec3(r, g, b);
    Default
    Setterset_function(value)
    Getterget_function()