Skip to content

Instantly share code, notes, and snippets.

View naso's full-sized avatar

Fábio Azevedo naso

View GitHub Profile
@naso
naso / Reveal.glsl
Last active July 8, 2016 14:15 — forked from glslioadmin/TEMPLATE.glsl
GLSL.io Transition (v1)
#ifdef GL_ES
precision highp float;
#endif
uniform sampler2D to, from;
uniform float progress;
uniform vec2 resolution;
void main() {
vec2 p = gl_FragCoord.xy / resolution.xy;
vec4 a = texture2D(from, p); //vec4(0.0, 0.0, 0.0, 0.0);