Skip to content

Instantly share code, notes, and snippets.

@Flexi23
Flexi23 / potleaf.glsl
Last active August 29, 2015 14:01 — 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;
void main() {
vec2 uv = gl_FragCoord.xy / resolution.xy;
vec2 leaf_uv = (uv - vec2(0.5))/10./pow(progress,3.5);