Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

219 B
Raw Blame
struct Params { temperature: f32 }

// White balance toward shade, brightness held.
fn effect(uv: vec2<f32>) -> vec4<f32> {
    let c = sample(uv);
    return vec4<f32>(white_balance(c.rgb, params.temperature), c.a);
}