VisualShaderNodeColorFunc
- FUNC_GRAYSCALE = 0 —- Converts the color to grayscale using the following formula:
- FUNC_SEPIA = 1 —- Applies sepia tone effect using the following formula:
vec3 c = input;
float g = (c.r * 0.349) + (c.g * 0.686) + (c.b * 0.168);
return vec3(r, g, b);
Default | |
Setter | set_function(value) |
Getter | get_function() |