Skip to content

Instantly share code, notes, and snippets.

View adrian-purser's full-sized avatar

Adrian Purser adrian-purser

  • Cheltenham, United Kingdom
View GitHub Profile
@adrian-purser
adrian-purser / Bounce.glsl
Created December 18, 2015 16:30 — 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;
uniform float bounce;
uniform float shadow;
uniform vec4 shadow_colour;
#ifdef GL_ES
precision highp float;
#endif
uniform sampler2D from, to;
uniform float progress;
uniform vec2 resolution;
uniform float bounce;
uniform float shadow;
uniform vec4 shadow_colour;
#ifdef GL_ES
precision highp float;
#endif
uniform sampler2D from, to;
uniform float progress;
uniform vec2 resolution;
uniform float scale;
const float r = 3.14159265359 * 2.0;