Skip to content

Instantly share code, notes, and snippets.

@tschundler
tschundler / StereoViewer Toy.glsl
Last active August 30, 2016 07:27 — forked from glslioadmin/TEMPLATE.glsl
GLSL.io Transition (v1)
#ifdef GL_ES
precision highp float;
#endif
uniform sampler2D from, to;
uniform float progress;
uniform vec2 resolution;
// Tunable parameters
uniform float zoom; // How much to zoom (out) for the effect ~ 0.5 - 1.0
uniform float corner_radius; // Corner radius as a fraction of the image height