Skip to main content

FILL

Constant FILL 

Source
pub const FILL: &str = "// The color mixed over the straight color, the color\'s alpha a strength; alpha is kept.\nfn effect(_uv: vec2f, src: vec4f) -> vec4f {\n    let rgb = builtin_straight(src);\n    return builtin_output(mix(rgb, params.color.rgb, params.amount * params.color.a), src.a);\n}\n";
Expand description

Built-in color fill body.