Skip to main content

WIPE_LEFT

Constant WIPE_LEFT 

Source
pub const WIPE_LEFT: &str = "// Port of gl-transitions/transitions/wipeLeft.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.x, progress()));\n}\n";
Expand description

Right-to-left hard wipe transition body.