Skip to main content

WIPE_DOWN

Constant WIPE_DOWN 

Source
pub const WIPE_DOWN: &str = "// Port of gl-transitions/transitions/wipeDown.glsl\n// Author: Jake Nelson\n// License: MIT\nfn gl_transition(uv: vec2f) -> vec4f {\n    return mix(gl_from_color(uv), gl_to_color(uv), builtin_aa_step(1.0 - uv.y, progress()));\n}\n";
Expand description

Top-to-bottom hard wipe transition body.